PDA

View Full Version : direct x sound


GrandpaTrout
03-12-2004, 11:49 AM
I am messing about with sound channels in EoC and could use some assistance (ideas).

EoC supports streams of audio, and I can get the first 4 channels to play on my system.

Does anyone know how to tell the number of audio channels are supported by the hardware and drivers?

I am trying to tease out if the number of audio channels is fixed by hardware, or hard coded somewhere in the Flux (EoC) engine.

I have run DxDiag and it does not show the number of supported channels.

Thanks in advance for any advice on how to find an answer....

-Jon

jessica00
03-12-2004, 02:47 PM
hmm, never had to deal with more than 2 (headphones)
but i dont recall EOC supporting 5.1

Stephen Robertson
03-12-2004, 07:01 PM
AFAIK Edge of Chaos supports Directsound 3D, which should mean that at least 4 speakers are supported.

GrandpaTrout
03-12-2004, 08:10 PM
Sorry, I think I was misleading. What I was trying to say was *input* sound channels. They get mixed in the sound card and output.

Flux uses the Stream package to get to Direct X like this

Stream.Play( int slot, string url, bool fade, bool loop );

That first argument (slot) is what I am trying to pin down. On my system I get the first 4 channels (or slots) to play, but no others. I wondered if other systems would get more (or worse, less) of these channels.

Stephen Robertson
03-13-2004, 05:42 AM
I think only 4 channels are supported in Pog.

GrandpaTrout
03-13-2004, 01:19 PM
Thanks! Any information helps.