[wdmaudiodev] Re: More Vista LFX channel conversion problems

  • From: Jeffrey Hoekman <jeffhoek@xxxxxxxxxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 28 Sep 2006 14:43:14 -0700

The sample code which you're referring to does not speaker-fill for mono
content.  You will need to modify IsIn{Out}putFormatSupported and likely
LockForProcess/ValidateAndCacheConnectionInfo and APOProcess to make it
work for mono.  I'm not sure about speaker-fill for >2-channel content
-- Serge may be able to comment on that.

If you're debugging AudioDG and not seeing the correct formats in the
'format-supported' calls it's likely the initial format negotiation
between the client app and AudioSrv (the service) is not resolving
properly.  Instead debug the IsInputFormatSupported API from within
AudioSrv to determine the original formats queried for render.  This is
generally the first line of negotiation with any player client.

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Michael R.
Preston
Sent: Wednesday, September 27, 2006 11:49 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] More Vista LFX channel conversion problems

Frank/Jeff,
    Well, my last post may have been a little premature.  The new APO
sample code was very helpful.  Since there was little documentation up
until this point, the new sample code definitely helped to better
understand how the APIs are to be used.  However, even with the new
sample code for speaker fill, I'm still seeing some LFX channel
conversion problems.  I didn't see them at first because I had only
tried doing speaker fill on stereo content.  Converting 2-channel
content to 6 or 8 channels works fine.  However, it looks like anything
other than stereo content is currently not compatible with speaker fill.

  With mono, 4-channel, or 6-channel content, the APO is never given the
chance to do speaker fill.  The number of input and output channels
always equals the output mode in these cases.  There are a few use cases
that are less important (say converting mono system sounds to 6 or 8
channels), but the obvious need is to convert 6-channel content to 8
channels.  If you're playing a DVD (which is 5.1 content) in a 7.1
speaker system, the LFX should be able to do speaker fill to make audio
come out the side speakers.  With the way Vista is currently behaving,
it is impossible for an APO to do the channel conversion to support 
this.   This seems to be a Windows problem and not an APO problem, since

the APO is never even asked if it supports 6 channels in, 8 channels
out.  I have tried this with RC1 (build 5600), and with a more recent
version, and the problem remains unchanged.  Can you check to see if
this is a known problem?

Thanks,
Mike
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|            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/


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

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: