[wdmaudiodev] Re: Changing default audio device in Windows 7.

  • From: uwekirst <u.kirst@xxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 16 Jun 2009 09:27:46 +0200

Hi Devendra,

AI Developer schrieb:
but rendered useless "officially" - one such example is the DirectSound's Set Speaker Config API.

I disagree with you in in this special case only. I think you are talking here about the KSPROPERTY_AUDIO_CHANNEL_CONFIG request, the speaker configurations maps to this request. It seems that the channel configuration is the only way how a driver can determine the number of channels used. This is because the microsoft mixer maps (copies) a 2 Channel playback stream to a 8 channel stream in any case, regardless of this property. So if the audio hardware wants for some reasons to know the "real" number of channels (that means the number of channels used out of 8), this is the only way. In case only 2 channels are used the other 6 hardware channels could be mapped to other audio devices. For my driver this is was very helpfull. In older driver versions we had a custom switch for this kind of setting, which could be replaced with the channel configurations.



WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx


Other related posts: