]> git.sesse.net Git - vlc/commit
Major change of the channels management. p_format->i_channels disappeares
authorChristophe Massiot <massiot@videolan.org>
Thu, 14 Nov 2002 22:38:48 +0000 (22:38 +0000)
committerChristophe Massiot <massiot@videolan.org>
Thu, 14 Nov 2002 22:38:48 +0000 (22:38 +0000)
commit8928554ebd629ddc1d4cdc6d670bc2e1a918dd83
treea12726cd468aa14d7305c6de363d4b26890d42be
parentf5bc3cd8d2dcef47628887f8c827f940f4faa2cb
Major change of the channels management. p_format->i_channels disappeares
and is replaced by two members : i_physical_channels and i_original_channels.
i_physical_channels describes the channels which are effectively present
in the stream (at the current point of the aout pipeline), whereas
i_original_channels represents the channels we used to constitute the
stream. For instance a mono stream (FRONT_CENTER) may emanate from a
FRONT_LEFT channel of a STEREO stream.

Additionally, this contains hooks to dynamically select the audio device
and the channels configuration. In order to do that, all aout plugins,
and all interface plug-ins need to be adapted. Currently only SDL
(partially OSS) and the rc interface have been adapted, please use them
as a guide. Other aout plug-ins have been temporarily disabled.

IMPORTANT : if you need a working sound output, DO NOT UPDATE YOUR TREE
for several days until we fix that.

* modules/misc/network/ipv4.c: Fixed a long-standing segfault when saving
  preferences and asking for multicast.
29 files changed:
configure.ac.in
include/aout_internal.h
include/audio_output.h
modules/audio_filter/channel_mixer/trivial.c
modules/audio_filter/converter/a52tofloat32.c
modules/audio_filter/resampler/trivial.c
modules/audio_filter/resampler/ugly.c
modules/audio_mixer/float32.c
modules/audio_output/oss.c
modules/audio_output/sdl.c
modules/codec/a52.c
modules/codec/araw.c
modules/codec/faad/decoder.c
modules/codec/faad/decoder.h
modules/codec/ffmpeg/audio.c
modules/codec/ffmpeg/audio.h
modules/codec/lpcm.c
modules/codec/mad/libmad.c
modules/codec/mpeg_audio/decoder.c
modules/codec/vorbis.c
modules/control/rc/rc.c
modules/gui/macosx/aout.m
modules/misc/network/ipv4.c
modules/video_output/x11/xcommon.c
src/audio_output/common.c
src/audio_output/dec.c
src/audio_output/filters.c
src/audio_output/intf.c
src/audio_output/output.c