VLC 4.0.0-dev
|
Data Structures | |
struct | vlc_audio_output_events |
struct | audio_output |
Audio output object. More... | |
Macros | |
#define | AOUT_RESTART_FILTERS 0x1 |
#define | AOUT_RESTART_OUTPUT (AOUT_RESTART_FILTERS|0x2) |
#define | AOUT_RESTART_STEREOMODE (AOUT_RESTART_OUTPUT|0x4) |
Functions | |
static void | aout_TimingReport (audio_output_t *aout, vlc_tick_t system_ts, vlc_tick_t audio_ts) |
Report a new timing point. More... | |
static void | aout_DrainedReport (audio_output_t *aout) |
Report than the stream is drained (after a call to aout->drain_async) More... | |
static void | aout_VolumeReport (audio_output_t *aout, float volume) |
Report change of configured audio volume to the core and UI. More... | |
static void | aout_MuteReport (audio_output_t *aout, bool mute) |
Report change of muted flag to the core and UI. More... | |
static void | aout_PolicyReport (audio_output_t *aout, bool cork) |
Report audio policy status. More... | |
static void | aout_DeviceReport (audio_output_t *aout, const char *id) |
Report change of output device. More... | |
static void | aout_HotplugReport (audio_output_t *aout, const char *id, const char *name) |
Report a device hot-plug event. More... | |
static int | aout_GainRequest (audio_output_t *aout, float gain) |
Request a change of software audio amplification. More... | |
static void | aout_RestartRequest (audio_output_t *aout, unsigned mode) |
static void | aout_PauseDefault (audio_output_t *aout, bool paused, vlc_tick_t date) |
Default implementation for audio_output_t.pause. More... | |
#define AOUT_RESTART_FILTERS 0x1 |
#define AOUT_RESTART_OUTPUT (AOUT_RESTART_FILTERS|0x2) |
#define AOUT_RESTART_STEREOMODE (AOUT_RESTART_OUTPUT|0x4) |
|
inlinestatic |
Report change of output device.
References vlc_audio_output_events::device_report, and audio_output::events.
|
inlinestatic |
Report than the stream is drained (after a call to aout->drain_async)
References vlc_audio_output_events::drained_report, and audio_output::events.
|
inlinestatic |
Request a change of software audio amplification.
gain | linear amplitude gain (must be positive) |
References audio_output::events, and vlc_audio_output_events::gain_request.
|
inlinestatic |
Report a device hot-plug event.
id | device ID |
name | human-readable device name (NULL for hot unplug) |
References audio_output::events, vlc_audio_output_events::hotplug_report, and name.
|
inlinestatic |
Report change of muted flag to the core and UI.
References audio_output::events, and vlc_audio_output_events::mute_report.
|
inlinestatic |
Default implementation for audio_output_t.pause.
References audio_output::flush.
|
inlinestatic |
Report audio policy status.
cork | true to request a cork, false to undo any pending cork. |
References audio_output::events, and vlc_audio_output_events::policy_report.
|
inlinestatic |
References audio_output::events, and vlc_audio_output_events::restart_request.
Referenced by MixModeCallback(), and StereoModeCallback().
|
inlinestatic |
Report a new timing point.
system_ts doesn't have to be close to vlc_tick_now(). Any valid { system_ts, audio_ts } points in the past are sufficient to update the clock.
It is important to report the first point as soon as possible (and the following points if the audio delay take some time to be stabilized). Once the audio is stabilized, it is recommended to report timing points every few seconds.
References audio_output::events, and vlc_audio_output_events::timing_report.
|
inlinestatic |
Report change of configured audio volume to the core and UI.
References audio_output::events, and vlc_audio_output_events::volume_report.