ACMX 2.136.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
file_audio.cpp File Reference
#include "file_audio.hpp"
#include "audio.hpp"
#include "input_validation.hpp"
#include <rtaudio/RtAudio.h>
#include <algorithm>
#include <atomic>
#include <cctype>
#include <chrono>
#include <cmath>
#include <cstdint>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <limits>
#include <string>
#include <string_view>
#include <system_error>
#include <vector>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/channel_layout.h>
#include <libavutil/error.h>
#include <libavutil/mathematics.h>
#include <libswresample/swresample.h>

Go to the source code of this file.

Classes

class  acmxvk::audio::anonymous_namespace{file_audio.cpp}::FileAudioOutput
class  acmxvk::audio::FileAudioSource::Impl

Namespaces

namespace  acmxvk
namespace  acmxvk::audio
namespace  acmxvk::audio::anonymous_namespace{file_audio.cpp}

Functions

std::string acmxvk::audio::anonymous_namespace{file_audio.cpp}::ffmpegError (int error)
std::string acmxvk::audio::anonymous_namespace{file_audio.cpp}::ffmpegPath (const std::filesystem::path &path)
bool acmxvk::audio::anonymous_namespace{file_audio.cpp}::isM3uPath (const std::filesystem::path &path)
bool acmxvk::audio::anonymous_namespace{file_audio.cpp}::isUrl (std::string_view path)
std::vector< std::string > acmxvk::audio::anonymous_namespace{file_audio.cpp}::readM3uPlaylist (const std::filesystem::path &playlist)
bool acmxvk::audio::anonymous_namespace{file_audio.cpp}::replaceFile (const std::filesystem::path &source, const std::filesystem::path &destination, std::error_code &error)
bool acmxvk::audio::anonymous_namespace{file_audio.cpp}::resampleMonoRecording (std::vector< float > &samples, unsigned int source_rate)
std::string acmxvk::audio::anonymous_namespace{file_audio.cpp}::trimPlaylistLine (std::string line)

Variables

constexpr unsigned int acmxvk::audio::anonymous_namespace{file_audio.cpp}::FILE_SAMPLE_RATE = 44100