FFmpeg
Functions
pulse_audio_common.h File Reference
#include <pulse/pulseaudio.h>
#include "libavcodec/codec_id.h"
#include "avdevice.h"

Go to the source code of this file.

Functions

pa_sample_format_t ff_codec_id_to_pulse_format (enum AVCodecID codec_id)
 
av_warn_unused_result int ff_pulse_audio_get_devices (AVDeviceInfoList *devices, const char *server, int output)
 
av_warn_unused_result 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)
 

Function Documentation

◆ ff_codec_id_to_pulse_format()

pa_sample_format_t ff_codec_id_to_pulse_format ( enum AVCodecID  codec_id)

Definition at line 29 of file pulse_audio_common.c.

Referenced by pulse_read_header(), and pulse_write_header().

◆ ff_pulse_audio_get_devices()

av_warn_unused_result int ff_pulse_audio_get_devices ( AVDeviceInfoList devices,
const char *  server,
int  output 
)

Definition at line 197 of file pulse_audio_common.c.

Referenced by pulse_get_device_list().

◆ ff_pulse_audio_connect_context()

av_warn_unused_result int ff_pulse_audio_connect_context ( pa_mainloop **  pa_ml,
pa_context **  pa_ctx,
const char *  server,
const char *  description 
)

◆ ff_pulse_audio_disconnect_context()

void ff_pulse_audio_disconnect_context ( pa_mainloop **  pa_ml,
pa_context **  pa_ctx 
)