aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/pulse_audio_common.h
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki@gmail.com>2014-02-25 01:03:56 +0100
committerLukasz Marek <lukasz.m.luki@gmail.com>2014-03-29 09:48:56 +0100
commit85ed32d2ed15888052a4f55d878f7cfb192d0e0d (patch)
tree8382e6b14d5b90925b5f43f10ad2ca1b6093a43b /libavdevice/pulse_audio_common.h
parentcd50a44beb01582093b8115287cb51a7feb83f77 (diff)
downloadffmpeg-85ed32d2ed15888052a4f55d878f7cfb192d0e0d.tar.gz
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.h5
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 */