Add a PulseAudio output driver.

It uses libpulse's synchronous API, to output to PulseAudio
without using libao.
This commit is contained in:
Paul Lietar
2013-06-10 15:44:27 +02:00
parent 38799dc1b1
commit a69c5f20f5
4 changed files with 129 additions and 0 deletions
+6
View File
@@ -32,9 +32,15 @@
#ifdef CONFIG_AO
extern audio_output audio_ao;
#endif
#ifdef CONFIG_PULSE
extern audio_output audio_pulse;
#endif
extern audio_output audio_dummy, audio_pipe;
static audio_output *outputs[] = {
#ifdef CONFIG_PULSE
&audio_pulse,
#endif
#ifdef CONFIG_AO
&audio_ao,
#endif