[wdmaudiodev] Re: My first WASAPI implementation.

  • From: Matt Gonzalez <matt@xxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 22 Mar 2006 16:34:43 -0800

Frank Yerrace wrote:

 

> We do it in order to support legacy apps that don't support multichannel hardware.

 

The API layers do this on your behalf. For example, the application can open stereo formats using waveOut regardless of how many channels the actual audio hardware has. The stereo data ends up being directed to the two output channels identified as front-left and front-right.

That's certainly the case.   However, you may not necessarily want the stereo data directed to those two output channels.

For instance, one of our boxes is a ten-output device - 8 analog and 2 digital.   If an application wants to use all ten outputs, it seems most efficient to expose that as a single 10-channel device.  

However, if you want to play from an app that just sends out stereo data (Windows Media Player, iTunes, many, many others) and want that data to go to your S/PDIF output, the only solution is to have separate wave devices.

It's an issue that's been around for as long as we've had WDM audio.   We've worked around it by allowing the user to choose their desired configuration of wave devices.

Matt

 


****************** 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 URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/

Other related posts: