[wdmaudiodev] DownMixing APO (Multichannel to Stereo)

  • From: Shubham Kumar <shubham.kumar.sci@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Tue, 19 Jan 2021 23:08:18 +0530

Hi,
I'm trying to implement a APO, which can process 8 channel data and send 2
channel to the endpoint. I am trying to process the downmixing in the APO
itself.

I have few doubts:



   - Is it possible to let audio client application know to send 8 channel
   data, despite the endpoint being set to 2 channels.
   - While experimenting with sysvad
   
<https://github.com/microsoft/Windows-driver-samples/tree/master/audio/sysvad>
   code,
      - I found two functions IsInputFormatSupported
      
<https://docs.microsoft.com/en-us/windows/win32/api/audioenginebaseapo/nf-audioenginebaseapo-iaudioprocessingobject-isinputformatsupported>
      and IsOutputFormatSupported
      
<https://docs.microsoft.com/en-us/windows/win32/api/audioenginebaseapo/nf-audioenginebaseapo-iaudioprocessingobject-isoutputformatsupported>.
      It appears that the first one should be used to tell the client
to render 8
      channel audio, And the second one should verify for 2 channel
audio. Is it
      the correct understanding ?
         - What is the proper way to handle format negotiation in apo for
      such cases? Or Is there a different approach to be followed ?


Thanks,
SK

Other related posts:

  • » [wdmaudiodev] DownMixing APO (Multichannel to Stereo) - Shubham Kumar