[vlc-commits] aout: add distinct start/stop callbacks (refs #4787, refs #7601)

Rémi Denis-Courmont git at videolan.org
Wed Oct 31 19:21:12 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 20 20:27:48 2012 +0300| [b1c459e9502282ad3bc94016e532a372f9c6955c] | committer: Rémi Denis-Courmont

aout: add distinct start/stop callbacks (refs #4787, refs #7601)

This would enable the input manager to hold an audio output plugin at
all times. Then it would be possible to keep track of output devices,
volume, policy and (JACK) routing continuously. For this to work,
outputs will need to be patched so that device selection and volume
handling works even when playing back.

Note though that this commit only introduces the change in the
audio_output_t interface; it does not implement the features above.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b1c459e9502282ad3bc94016e532a372f9c6955c
---

 include/vlc_aout.h                      |    8 +-
 modules/audio_output/adummy.c           |   35 +++---
 modules/audio_output/alsa.c             |  102 ++++++++--------
 modules/audio_output/amem.c             |  140 +++++++++++----------
 modules/audio_output/audioqueue.c       |   42 +++++--
 modules/audio_output/audiotrack.c       |   78 ++++++------
 modules/audio_output/auhal.c            |  136 +++++++++++----------
 modules/audio_output/directx.c          |  154 +++++++++++------------
 modules/audio_output/file.c             |   57 +++++----
 modules/audio_output/jack.c             |   54 ++++----
 modules/audio_output/kai.c              |   23 ++--
 modules/audio_output/opensles_android.c |   33 +++--
 modules/audio_output/oss.c              |   54 ++++----
 modules/audio_output/packet.c           |   16 +--
 modules/audio_output/pulse.c            |  204 +++++++++++++++++--------------
 modules/audio_output/sndio.c            |   61 +++++----
 modules/audio_output/wasapi.c           |   85 +++++++------
 modules/audio_output/waveout.c          |  144 ++++++++++------------
 src/audio_output/output.c               |   99 ++++++++-------
 19 files changed, 829 insertions(+), 696 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=b1c459e9502282ad3bc94016e532a372f9c6955c


More information about the vlc-commits mailing list