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 376 of file ACMXVK/file_audio.cpp.
|
inline |
Definition at line 378 of file ACMXVK/file_audio.cpp.
References close().
|
inline |
Definition at line 583 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 925 of file ACMXVK/file_audio.cpp.
References active, current_track_index, and track_paths.
Referenced by report_current_track().
|
inline |
Definition at line 423 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 923 of file ACMXVK/file_audio.cpp.
References samples.
Referenced by mux_into_video(), and open().
|
inline |
Definition at line 606 of file ACMXVK/file_audio.cpp.
References observed_output_loops, output, repeat, and samples.
|
inlinenodiscard |
Definition at line 622 of file ACMXVK/file_audio.cpp.
References active, and output.
Referenced by playback_time(), and process_frame().
|
inline |
Definition at line 631 of file ACMXVK/file_audio.cpp.
References duration_seconds(), live_recording_source, output, repeat, samples, and track_paths.
|
inline |
Definition at line 380 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 624 of file ACMXVK/file_audio.cpp.
References has_output_clock(), and output.
|
inline |
Definition at line 1020 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 984 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 947 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 933 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 599 of file ACMXVK/file_audio.cpp.
|
inline |
Definition at line 620 of file ACMXVK/file_audio.cpp.
References output.
|
inline |
Definition at line 940 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 1062 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 1060 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 1066 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 1061 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 1058 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 1059 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 1065 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 1063 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 1064 of file ACMXVK/file_audio.cpp.
Referenced by close(), open(), and process_frame().
| std::vector<float> acmxvk::audio::FileAudioSource::Impl::samples |
Definition at line 1054 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 1055 of file ACMXVK/file_audio.cpp.
| std::vector<std::size_t> acmxvk::audio::FileAudioSource::Impl::track_end_positions |
Definition at line 1057 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 1056 of file ACMXVK/file_audio.cpp.
Referenced by close(), current_track_path(), mux_into_video(), open(), and report_current_track().