[MPlayer-dev-eng] pl_surround - Dolby Surround decoder - committed

Bohdan Horst nexus at hoth.amu.edu.pl
Tue Dec 4 19:00:03 CET 2001


On Tue, Dec 04, 2001 at 05:45:32PM +0000, Stephen Davies wrote:

> 
> 
> On Tue, 4 Dec 2001, Bohdan Horst wrote:
> 
> > AO: [plugin] 44100Hz Stereo Signed 16-bit (Little-Endian)
> > pl_surround: init input rate=44100, channels=2
> > pl_surround: 15msec surround delay, rate 44100 - buffer is 661 samples
> > ao2: 44100 Hz  4 chans  Signed 16-bit (Little-Endian)
> > audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
> > audio_setup: using 2 channels (requested: 2)
> 
> This is weird.  This message comes from my ao_oss.c changes, so you must
> have the current version.  But how did the 4 become 2...?
> 
> Does your card actually support more than 2 channel output?  What type of
> card is it?
> 
> I've committed an update to ao_oss.c to check that SNDCTL_DSP_CHANNELS
> returns the expected number of output channels.
> 

my card support only 2 channels ;) 

now:
AO: [plugin] 44100Hz Stereo Signed 16-bit (Little-Endian)
pl_surround: init input rate=44100, channels=2
pl_surround: 15msec surround delay, rate 44100 - buffer is 661 samples
ao2: 44100 Hz  4 chans  Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16-bit (Little-Endian))
audio_setup: Failed to set audio device to 4 channels
couldn't open/init audio device -> NOSOUND


and all clear :)

best regards

-- 
 / irl:Bohdan 'Nexus' Horst | mailto:nexus at irc.pl | irc:Nexus \
{---------------------------^----------v----------^------------}
 \ http://www.physd.amu.edu.pl/~nexus/ | Instytut Fizyki  UAM /



More information about the MPlayer-dev-eng mailing list