[wdmaudiodev] Re: wdmaudiodev Digest V3 #116

  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 4 Aug 2006 10:25:34 -0700

Hi Mike,

We recently fixed this behavior, however, you should be able to get
things working by returning S_FALSE and returning a suggested format of
32-bit float, 48k, and channel-count unchanged.

As of Winmain 5490.0.060731-1930, the SysFX APOs (GFX and LFX) will not
be passed IO format pairs which require SRC or int<->float conversion,
so it will be much easier for you to return S_OK or S_FALSE and specify
the channelcount you desire.

Let us know if you have further questions.  

-Jeff

-----Original Message-----
From: FreeLists Mailing List Manager [mailto:ecartis@xxxxxxxxxxxxx]
Sent: Tuesday, August 01, 2006 11:04 PM
To: wdmaudiodev digest users
Subject: wdmaudiodev Digest V3 #116

wdmaudiodev Digest      Tue, 01 Aug 2006        Volume: 03  Issue: 116

In This Issue:
                [wdmaudiodev] Windows Vista APO channel conversion
question

----------------------------------------------------------------------

Date: Tue, 01 Aug 2006 19:26:48 -0700
From: "Michael R. Preston" <mike@xxxxxxxxxxxxxxxxxxx>
Subject: [wdmaudiodev] Windows Vista APO channel conversion question

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                       |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------

End of wdmaudiodev Digest V3 #116
*********************************
******************

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/


******************

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:

  • » [wdmaudiodev] Re: wdmaudiodev Digest V3 #116