[wdmaudiodev] Windows Vista APO channel conversion question

  • From: "Michael R. Preston" <mike@xxxxxxxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 01 Aug 2006 19:26:48 -0700

Hi, all. I'm developing an APO for Windows Vista that will do some channel conversion in the LFX. For example, if you're playing a stereo MP3 or WMA file in Windows Media Player, and the system is in 8-channel speaker mode, I want the LFX to be in control of how the channel conversion happens. However, using Vista Beta 2, I'm having trouble setting the input format the way I want. I'm playing a 44.1 kHz MP3 or WMA file in Windows Media Player, and I'm on a system where the audio hardware is locked to 48 kHz. In IsInputFormatSupported(), I can see how Windows is trying to open the LFX. Since the system is in 8-channel mode, the output format is always 8 channels at 48 kHz to match the hardware. However, looking at the input format, Windows either wants me to sample-rate-convert the audio from 44.1 kHz to 48 kHz while allowing me to do the channel conversion, or Windows does the sample-rate-conversion and channel conversion for me before getting to my LFX. Why isn't there a 3rd option - let Windows do the sample-rate-conversion, and let my LFX do the channel conversion? Anyone have any info on this?

Thanks,
Mike Preston
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|            Mike Preston          | Home/Office: (360)756-1655 |
| E-mail: mike@xxxxxxxxxxxxxxxxxxx |        Cell: (360)303-9331 |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
|     The man who follows the crowd will usually get no         |
|     further than the crowd.  The man who walks alone is       |
|     likely to find himself in places no one has ever been.    |
|                     -- Alan Ashley-Pitt                       |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
******************

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: