| VLC
    3.0.18
    | 
Audio output object. More...

| Data Fields | |
| struct vlc_common_members | obj | 
| struct aout_sys_t * | sys | 
| Private data for callbacks.  More... | |
| int(* | start )(audio_output_t *, audio_sample_format_t *fmt) | 
| Starts a new stream (mandatory, cannot be NULL).  More... | |
| void(* | stop )(audio_output_t *) | 
| Stops the existing stream (optional, may be NULL).  More... | |
| int(* | time_get )(audio_output_t *, mtime_t *delay) | 
| Estimates playback buffer latency (optional, may be NULL).  More... | |
| void(* | play )(audio_output_t *, block_t *) | 
| Queues a block of samples for playback (mandatory, cannot be NULL).  More... | |
| void(* | pause )(audio_output_t *, bool pause, mtime_t date) | 
| Pauses or resumes playback (optional, may be NULL).  More... | |
| void(* | flush )(audio_output_t *, bool wait) | 
| Flushes or drains the playback buffers (mandatory, cannot be NULL).  More... | |
| int(* | volume_set )(audio_output_t *, float volume) | 
| Changes playback volume (optional, may be NULL).  More... | |
| int(* | mute_set )(audio_output_t *, bool mute) | 
| Changes muting (optinal, may be NULL).  More... | |
| int(* | device_select )(audio_output_t *, const char *id) | 
| Selects an audio output device (optional, may be NULL).  More... | |
| struct { | |
| bool headphones | |
| Default to false, set it to true if the current sink is using headphones.  More... | |
| } | current_sink_info | 
| Current sink informations set by the module from the start() function.  More... | |
| struct { | |
| void(* volume_report )(audio_output_t *, float) | |
| void(* mute_report )(audio_output_t *, bool) | |
| void(* policy_report )(audio_output_t *, bool) | |
| void(* device_report )(audio_output_t *, const char *) | |
| void(*   hotplug_report )(audio_output_t *, const char *, const char *) | |
| int(* gain_request )(audio_output_t *, float) | |
| void(* restart_request )(audio_output_t *, unsigned) | |
| } | event | 
Audio output object.
| struct { ... } audio_output::current_sink_info | 
Current sink informations set by the module from the start() function.
Referenced by aout_OutputNew(), and aout_PrepareStereoMode().
| void(* audio_output::device_report) (audio_output_t *, const char *) | 
Referenced by aout_DeviceReport(), and aout_New().
| int(* audio_output::device_select) (audio_output_t *, const char *id) | 
Selects an audio output device (optional, may be NULL).
| id | nul-terminated device unique identifier. | 
Referenced by aout_Destroy(), aout_New(), and aout_OutputDeviceSet().
| struct { ... } audio_output::event | 
Referenced by aout_DeviceReport(), aout_HotplugReport(), aout_MuteReport(), aout_New(), aout_PolicyReport(), and aout_VolumeReport().
| void(* audio_output::flush) (audio_output_t *, bool wait) | 
Flushes or drains the playback buffers (mandatory, cannot be NULL).
| wait | true to wait for playback of pending buffers (drain), false to discard pending buffers (flush) | 
Referenced by aout_OutputFlush().
| int(* audio_output::gain_request) (audio_output_t *, float) | 
Referenced by aout_New().
| bool audio_output::headphones | 
Default to false, set it to true if the current sink is using headphones.
Referenced by aout_OutputNew(), and aout_PrepareStereoMode().
| void(* audio_output::hotplug_report) (audio_output_t *, const char *, const char *) | 
Referenced by aout_HotplugReport(), and aout_New().
| void(* audio_output::mute_report) (audio_output_t *, bool) | 
Referenced by aout_MuteReport(), and aout_New().
| int(* audio_output::mute_set) (audio_output_t *, bool mute) | 
Changes muting (optinal, may be NULL).
| mute | true to mute, false to unmute | 
Referenced by aout_Destroy(), aout_New(), and aout_OutputMuteSet().
| struct vlc_common_members audio_output::obj | 
Referenced by aout_Destroy(), and aout_PolicyNotify().
| void(* audio_output::pause) (audio_output_t *, bool pause, mtime_t date) | 
Pauses or resumes playback (optional, may be NULL).
| pause | pause if true, resume from pause if false | 
| date | timestamp when the pause or resume was requested | 
Referenced by aout_OutputPause().
| void(* audio_output::play) (audio_output_t *, block_t *) | 
Queues a block of samples for playback (mandatory, cannot be NULL).
Referenced by aout_OutputPlay().
| void(* audio_output::policy_report) (audio_output_t *, bool) | 
Referenced by aout_New(), and aout_PolicyReport().
| void(* audio_output::restart_request) (audio_output_t *, unsigned) | 
Referenced by aout_New().
| int(* audio_output::start) (audio_output_t *, audio_sample_format_t *fmt) | 
Starts a new stream (mandatory, cannot be NULL).
| fmt | input stream sample format upon entry, output stream sample format upon return [IN/OUT] | 
Referenced by aout_New(), and aout_OutputNew().
| void(* audio_output::stop) (audio_output_t *) | 
Stops the existing stream (optional, may be NULL).
Referenced by aout_New(), and aout_OutputDelete().
| struct aout_sys_t* audio_output::sys | 
Private data for callbacks.
| int(* audio_output::time_get) (audio_output_t *, mtime_t *delay) | 
Estimates playback buffer latency (optional, may be NULL).
| delay | pointer to the delay until the next sample to be written to the playback buffer is rendered [OUT] | 
Referenced by aout_OutputTimeGet().
| void(* audio_output::volume_report) (audio_output_t *, float) | 
Referenced by aout_New(), and aout_VolumeReport().
| int(* audio_output::volume_set) (audio_output_t *, float volume) | 
Changes playback volume (optional, may be NULL).
| volume | requested volume (0. = mute, 1. = nominal) | 
Referenced by aout_Destroy(), aout_New(), and aout_OutputVolumeSet().
 1.8.16
 1.8.16