[wdmaudiodev] Re: wdmaudiodev Digest V3 #114

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

To get the multichannel input your APO needs to return S_FALSE when
IsOutputFormatSupported is called with mismatched channel-counts, and
return a 32-bit-float suggested format with the channelcount and
sampling-rate from the input (content.)  This will cause our
device-graph to insert SRC and/or float2int and/or matrix conversion if
necessary.

We recently fixed this behavior...

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, July 25, 2006 11:06 PM
To: wdmaudiodev digest users
Subject: wdmaudiodev Digest V3 #114

wdmaudiodev Digest      Tue, 25 Jul 2006        Volume: 03  Issue: 114

In This Issue:
                [wdmaudiodev] Re: APOs and multichannel inputs
                [wdmaudiodev] Re: APOs and multichannel inputs

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

Subject: [wdmaudiodev] Re: APOs and multichannel inputs
Date: Tue, 25 Jul 2006 14:19:51 -0700
From: "Jeff Claar" <JClaar@xxxxxxxxxxx>

Thanks for the clarification Frank. However, I wasn't concerned about
multichannel output, but rather multichannel input to an APO. Any
multichannel files I play still set the input to my APO to 2 channels.
Do I need to do something specific to support multichannel inputs to an
APO?

Thanks,

Jeff

 

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Frank Yerrace
Sent: Monday, July 24, 2006 5:55 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: APOs and multichannel inputs

 

Jeff, your view is correct. You should normally not have other speaker
configurations available if the physical hardware and driver support
only stereo. You do not need a multichannel output to run a multichannel
virtualization algorithm.

 

Frank Yerrace

Microsoft Corporation

This posting is provided "as is" with no warranties, and confers no
rights

 

 

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Claar
Sent: Monday, July 24, 2006 5:43 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: APOs and multichannel inputs

 

Hi Dugan,

 

Thanks for the reply. I have not selected 5.1 out, because the hardware
only supports 2 channel out. The "Speaker Configuration" list box
doesn't even allow me to select anything other than stereo.

 

This makes sense to me, since only 2 channels are available at any time.
I think it would be pretty confusing for the user to have to select 5.1
output for virtualization. However, that begs another question - should
I still be able to select 5.1 output even with 2-channel hardware?

 

Thanks,

Jeff

 

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Dugan Porter
Sent: Monday, July 24, 2006 11:43 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: APOs and multichannel inputs

 

It should be possible - the built-in HDAudio system effects do this (for
speaker virtualization).  Forgive the basic question, but have you
selected 5.1 output for your device in mmsys.cpl?

Dugan Porter - Game Audio Team - Microsoft This posting is provided "as
is" with no warranties, and confers no rights

        
________________________________


        From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Claar
        Sent: Thursday, July 20, 2006 2:33 PM
        To: wdmaudiodev@xxxxxxxxxxxxx
        Subject: [wdmaudiodev] APOs and multichannel inputs

        Hi everyone,

         

        I'm developing an LFX APO that includes a multichannel to stereo
virtualizer. However, on a 2 channel codec, I'm having trouble getting
any multichannel input, even though the source is multichannel. Is it
possible to get multichannel inputs into an APO (when the codec is
stereo)?

         

        Thanks,

        Jeff



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

Subject: [wdmaudiodev] Re: APOs and multichannel inputs
Date: Tue, 25 Jul 2006 14:41:40 -0700
From: "Frank Yerrace" <Frank.Yerrace@xxxxxxxxxxxxx>

Sorry, I was only addressing your question, "However, that begs another
question - should I still be able to select 5.1 output even with
2-channel hardware?"
 

Regarding support for multichannel inputs to your APO: I can't comment
on details but I do know it's possible. As Dugan Porter said, our own
"in box" SYSFX effects do this. Note that you would do this in your LFX
APO, not the GFX APO.

 

Frank Yerrace

Microsoft Corporation

This posting is provided "as is" with no warranties, and confers no
rights

 

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Claar
Sent: Tuesday, July 25, 2006 2:20 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: APOs and multichannel inputs

 

Thanks for the clarification Frank. However, I wasn't concerned about
multichannel output, but rather multichannel input to an APO. Any
multichannel files I play still set the input to my APO to 2 channels.
Do I need to do something specific to support multichannel inputs to an
APO?


Thanks,

Jeff

 

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Frank Yerrace
Sent: Monday, July 24, 2006 5:55 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: APOs and multichannel inputs

 

Jeff, your view is correct. You should normally not have other speaker
configurations available if the physical hardware and driver support
only stereo. You do not need a multichannel output to run a multichannel
virtualization algorithm.

 

Frank Yerrace

Microsoft Corporation

This posting is provided "as is" with no warranties, and confers no
rights

 

 

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Claar
Sent: Monday, July 24, 2006 5:43 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: APOs and multichannel inputs

 

Hi Dugan,

 

Thanks for the reply. I have not selected 5.1 out, because the hardware
only supports 2 channel out. The "Speaker Configuration" list box
doesn't even allow me to select anything other than stereo.

 

This makes sense to me, since only 2 channels are available at any time.
I think it would be pretty confusing for the user to have to select 5.1
output for virtualization. However, that begs another question - should
I still be able to select 5.1 output even with 2-channel hardware?

 

Thanks,

Jeff

 

________________________________

From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Dugan Porter
Sent: Monday, July 24, 2006 11:43 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: APOs and multichannel inputs

 

It should be possible - the built-in HDAudio system effects do this (for
speaker virtualization).  Forgive the basic question, but have you
selected 5.1 output for your device in mmsys.cpl?

Dugan Porter - Game Audio Team - Microsoft This posting is provided "as
is" with no warranties, and confers no rights

        
________________________________


        From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Claar
        Sent: Thursday, July 20, 2006 2:33 PM
        To: wdmaudiodev@xxxxxxxxxxxxx
        Subject: [wdmaudiodev] APOs and multichannel inputs

        Hi everyone,

         

        I'm developing an LFX APO that includes a multichannel to stereo
virtualizer. However, on a 2 channel codec, I'm having trouble getting
any multichannel input, even though the source is multichannel. Is it
possible to get multichannel inputs into an APO (when the codec is
stereo)?

         

        Thanks,

        Jeff



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

End of wdmaudiodev Digest V3 #114
*********************************
******************

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 #114