mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-24 16:00:02 +01:00
lavd/pulse_audio_common: add context helper functions
Functions allow to connect and disconnect from server. Helpfull to implement utility functions with nested loops. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
This commit is contained in:
@@ -30,4 +30,9 @@ pa_sample_format_t ff_codec_id_to_pulse_format(enum AVCodecID codec_id);
|
||||
|
||||
int ff_pulse_audio_get_devices(AVDeviceInfoList *devices, const char *server, int output);
|
||||
|
||||
int ff_pulse_audio_connect_context(pa_mainloop **pa_ml, pa_context **pa_ctx,
|
||||
const char *server, const char *description);
|
||||
|
||||
void ff_pulse_audio_disconnect_context(pa_mainloop **pa_ml, pa_context **pa_ctx);
|
||||
|
||||
#endif /* AVDEVICE_PULSE_AUDIO_COMMON_H */
|
||||
|
||||
Reference in New Issue
Block a user