PDA

View Full Version : 5.1 in WinAmp input plug-ins


Borisov
22nd May 2002, 11:00
Hi
I'm new WinAmp's user but I don't amateur in mpeg.

I'm trying to develop ac3-decoder plugin. And I want to hear 6 channels on my Audigy sound card.
tell me please how I can say to winamp that I have 5+1 channels of my audio.
I tryed to write
maxlatency = mod.outMod->Open(SampleRatio,6,BPS,0,0);
but player sent me messages that format not supported or secondary buffer not allocated.
But, if I decode ac3 to wav in 5+1 format, WinAmp plays it.
Could anybody give me src code of in_wave.dll or help me by other way.

Thank you.

Aus
23rd May 2002, 10:49
you need to write an output plugin that will support outputting to multiple channels also. Currently we only support 2 channels in the API (left and right).

Borisov
24th May 2002, 07:18
why the WinAmp plays WAV in 5.1 mode?