SPEAKERMODE and Speaker Count. I’m able to get the SPEAKERMODE from Windows, however it appears that the "Mode" doesn’t match up w/ the real "Count" of the speakers. For example, my head phones which have 2 speakers is coming back as 7Point1. I don’t think that matters to what I really want to do, however what does matter is that I’m planning on using FMOD in RAW mode so I need to know the actually physical count of outputs per sound card.
I didn’t want to use WinMM or DirectX to figure out the output count. Is there something I’ve missed in FMOD that’ll give me the physical output (and input) count of the sound device(s)?
- CarltonGuc asked 6 years ago
System::getDriverCaps controlpanelspeakermode is the only information we provide about the speaker configuration (and hence channel count). For Windows this will be the speaker configuration set by the user when ‘configure’ is clicked in ‘sound’ settings for a particular device. If you have headphones plugged in, but the system is configured to 7.1 then the native audio APIs will tell us 7.1, so that is the information we pass on to you. Regardless of whether you are using RAW or not, Windows will generally expect (in the case of 7.1) 8 channels of data so it sounds like the number you are getting is the one you want.
Please login first to submit.