Public Member Functions | |
| void | close () |
| const std::string & | current_track_path () const |
| bool | decode_track (const std::string &requested_path) |
| double | duration_seconds () const |
| bool | enable_output (int device, float gain) |
| bool | has_output_clock () const |
| bool | mux_into_video (const std::string &requested_video_path, double video_duration) |
| bool | open (const std::string &requested_path) |
| double | playback_time () const |
| bool | process_at_time (double seconds, double frames_per_second, AudioEngine &engine) |
| bool | process_frame (double frames_per_second, AudioEngine &engine) |
| bool | process_output_frame (double frames_per_second, AudioEngine &engine) |
| void | report_current_track () const |
| void | set_repeat (bool enabled) |
| void | stop_output () |
| void | update_current_track (double position) |
| ~Impl () | |
Public Attributes | |
| bool | active = false |
| std::size_t | current_track_index = 0 |
| bool | live_recording_source = false |
| std::uint64_t | observed_output_loops = 0 |
| std::unique_ptr< FileAudioOutput > | output |
| double | playback_position = 0.0 |
| bool | playlist_source = false |
| bool | repeat = false |
| bool | restart_pending = false |
| std::vector< float > | samples |
| std::string | source_path |
| std::vector< std::size_t > | track_end_positions |
| std::vector< std::string > | track_paths |
Definition at line 483 of file ACMXVK/file_audio.cpp.
|
inline |
Definition at line 485 of file ACMXVK/file_audio.cpp.
References close().
|
inline |
Definition at line 744 of file ACMXVK/file_audio.cpp.
References active, current_track_index, observed_output_loops, output, playback_position, playlist_source, repeat, restart_pending, samples, source_path, track_end_positions, and track_paths.
|
inlinenodiscard |
Definition at line 1161 of file ACMXVK/file_audio.cpp.
References active, current_track_index, and track_paths.
Referenced by report_current_track().
|
inline |
Definition at line 542 of file ACMXVK/file_audio.cpp.
References output, acmxvk::input::Path, samples, acmxvk::input::Url, and acmxvk::input::validate_string().
Referenced by open().
|
inlinenodiscard |
Definition at line 1156 of file ACMXVK/file_audio.cpp.
References samples.
Referenced by mux_into_video(), and open().
|
inline |
Definition at line 767 of file ACMXVK/file_audio.cpp.
References observed_output_loops, output, repeat, and samples.
|
inlinenodiscard |
Definition at line 786 of file ACMXVK/file_audio.cpp.
References active, and output.
Referenced by playback_time(), and process_frame().
|
inline |
Definition at line 798 of file ACMXVK/file_audio.cpp.
References duration_seconds(), live_recording_source, output, repeat, samples, and track_paths.
|
inline |
Definition at line 489 of file ACMXVK/file_audio.cpp.
References active, close(), current_track_index, decode_track(), duration_seconds(), acmxvk::input::Path, playback_position, playlist_source, report_current_track(), restart_pending, samples, source_path, track_end_positions, track_paths, and acmxvk::input::validate_string().
|
inlinenodiscard |
Definition at line 790 of file ACMXVK/file_audio.cpp.
References has_output_clock(), and output.
|
inline |
Definition at line 1285 of file ACMXVK/file_audio.cpp.
References active, current_track_index, playback_position, acmxvk::audio::AudioEngine::process_samples(), repeat, acmxvk::audio::AudioEngine::reset(), samples, and update_current_track().
|
inline |
Definition at line 1236 of file ACMXVK/file_audio.cpp.
References active, current_track_index, has_output_clock(), playback_position, playlist_source, process_output_frame(), acmxvk::audio::AudioEngine::process_samples(), repeat, report_current_track(), acmxvk::audio::AudioEngine::reset(), restart_pending, samples, and update_current_track().
|
inline |
Definition at line 1188 of file ACMXVK/file_audio.cpp.
References active, current_track_index, observed_output_loops, output, playback_position, playlist_source, acmxvk::audio::AudioEngine::process_samples(), report_current_track(), acmxvk::audio::AudioEngine::reset(), samples, and update_current_track().
Referenced by process_frame().
|
inline |
Definition at line 1170 of file ACMXVK/file_audio.cpp.
References current_track_index, current_track_path(), playlist_source, and track_paths.
Referenced by open(), process_frame(), process_output_frame(), and update_current_track().
|
inline |
Definition at line 760 of file ACMXVK/file_audio.cpp.
|
inline |
Definition at line 782 of file ACMXVK/file_audio.cpp.
References output.
|
inline |
Definition at line 1179 of file ACMXVK/file_audio.cpp.
References current_track_index, report_current_track(), and track_end_positions.
Referenced by process_at_time(), process_frame(), and process_output_frame().
| bool acmxvk::audio::FileAudioSource::Impl::active = false |
Definition at line 1341 of file ACMXVK/file_audio.cpp.
Referenced by close(), current_track_path(), has_output_clock(), open(), process_at_time(), process_frame(), and process_output_frame().
| std::size_t acmxvk::audio::FileAudioSource::Impl::current_track_index = 0 |
Definition at line 1339 of file ACMXVK/file_audio.cpp.
Referenced by close(), current_track_path(), open(), process_at_time(), process_frame(), process_output_frame(), report_current_track(), and update_current_track().
| bool acmxvk::audio::FileAudioSource::Impl::live_recording_source = false |
Definition at line 1345 of file ACMXVK/file_audio.cpp.
Referenced by mux_into_video().
| std::uint64_t acmxvk::audio::FileAudioSource::Impl::observed_output_loops = 0 |
Definition at line 1340 of file ACMXVK/file_audio.cpp.
Referenced by close(), enable_output(), and process_output_frame().
| std::unique_ptr<FileAudioOutput> acmxvk::audio::FileAudioSource::Impl::output |
Definition at line 1337 of file ACMXVK/file_audio.cpp.
Referenced by close(), decode_track(), enable_output(), has_output_clock(), mux_into_video(), playback_time(), process_output_frame(), set_repeat(), and stop_output().
| double acmxvk::audio::FileAudioSource::Impl::playback_position = 0.0 |
Definition at line 1338 of file ACMXVK/file_audio.cpp.
Referenced by close(), open(), process_at_time(), process_frame(), and process_output_frame().
| bool acmxvk::audio::FileAudioSource::Impl::playlist_source = false |
Definition at line 1344 of file ACMXVK/file_audio.cpp.
Referenced by close(), open(), process_frame(), process_output_frame(), and report_current_track().
| bool acmxvk::audio::FileAudioSource::Impl::repeat = false |
Definition at line 1342 of file ACMXVK/file_audio.cpp.
Referenced by close(), enable_output(), mux_into_video(), process_at_time(), process_frame(), and set_repeat().
| bool acmxvk::audio::FileAudioSource::Impl::restart_pending = false |
Definition at line 1343 of file ACMXVK/file_audio.cpp.
Referenced by close(), open(), and process_frame().
| std::vector<float> acmxvk::audio::FileAudioSource::Impl::samples |
Definition at line 1333 of file ACMXVK/file_audio.cpp.
Referenced by close(), decode_track(), duration_seconds(), enable_output(), mux_into_video(), open(), process_at_time(), process_frame(), and process_output_frame().
| std::string acmxvk::audio::FileAudioSource::Impl::source_path |
Definition at line 1334 of file ACMXVK/file_audio.cpp.
| std::vector<std::size_t> acmxvk::audio::FileAudioSource::Impl::track_end_positions |
Definition at line 1336 of file ACMXVK/file_audio.cpp.
Referenced by close(), open(), and update_current_track().
| std::vector<std::string> acmxvk::audio::FileAudioSource::Impl::track_paths |
Definition at line 1335 of file ACMXVK/file_audio.cpp.
Referenced by close(), current_track_path(), mux_into_video(), open(), and report_current_track().