diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2014-02-25 04:03:56 +0400 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki@gmail.com> | 2014-03-29 12:48:56 +0400 |
commit | 85ed32d2ed15888052a4f55d878f7cfb192d0e0d (patch) | |
tree | 8382e6b14d5b90925b5f43f10ad2ca1b6093a43b /libavdevice/pulse_audio_common.h | |
parent | cd50a44beb01582093b8115287cb51a7feb83f77 (diff) |
lavd/pulse_audio_common: add device detecting code
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Diffstat (limited to 'libavdevice/pulse_audio_common.h')
-rw-r--r-- | libavdevice/pulse_audio_common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavdevice/pulse_audio_common.h b/libavdevice/pulse_audio_common.h index 99ba6a31f1..b049cdea1a 100644 --- a/libavdevice/pulse_audio_common.h +++ b/libavdevice/pulse_audio_common.h @@ -22,9 +22,12 @@ #ifndef AVDEVICE_PULSE_AUDIO_COMMON_H #define AVDEVICE_PULSE_AUDIO_COMMON_H -#include <pulse/simple.h> +#include <pulse/pulseaudio.h> #include "libavcodec/avcodec.h" +#include "avdevice.h" 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); + #endif /* AVDEVICE_PULSE_AUDIO_COMMON_H */ |