[wdmaudiodev] Re: Windows Vista APO channel conversion question

  • From: "Michael R. Preston" <mike@xxxxxxxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 04 Sep 2006 00:21:25 -0700

Jeff/Frank,
   Thanks for all your help on my APO channel conversion question in
the past.  Now that build 5536 of Vista is out, I've done some more
testing to see if the problems are fixed.  Unfortunately, it still seems
that there are a number of problems in trying to support channel
conversions in an LFX.  Here's what I'm finding:

With the system in 8-channel mode, I want my LFX to convert a stereo
stream to 8 channels to match the speaker configuration (i.e. speaker
fill).  After Windows asks for several compressed formats my LFX doesn't
support in IsInputFormatSupported(), it then asks for what I want - 2
channels in, 8 channels out, 32-bit float, to which I return S_OK.
However, Windows then calls LockForProcess() with 2 channels in, 2
channels out, 32-bit float.  Windows never asked me for this in
IsInputFormatSupported() or IsOutputFormatSupported().

In 2-channel mode, I want my LFX to convert a 6- or 8-channel stream to
stereo (i.e. virtual speaker/headphone).  After Windows asks for several
compressed formats my LFX doesn't support in IsInputFormatSupported(),
it then asks for what I want - 8 channels in, 2 channels out, 32-bit
float, to which I return S_OK.  However, Windows then calls
LockForProcess() with 8 channels in, 8 channels out, 32-bit float.
Windows never asked me for this in IsInputFormatSupported() or
IsOutputModeSupported().

I also tried supporting an SRC in my LFX, and that didn't work, either. Trying to support 44.1 kHz in (since I'm playing a 44.1 kHz WMA file),
48 kHz out, Windows didn't even ask my LFX if it supported 32-bit float! It asked for the usual compressed formats, then gave up. I also tried different variations of the APO flags, but nothing helped.


If you have any comments or suggestions on what might be wrong and what
it will take to fix this, it would be greatly appreciated.

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: