[wdmaudiodev] Re: Rendering audio on a different device in kernel mode

  • From: "Matthew van Eerde" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Matthew.van.Eerde" for DMARC)
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 24 Jan 2019 17:56:54 +0000

Can you elaborate a little more on your scenario? The usual way to play Dolby 
Digital audio in shared mode is to decode it first, then mix it with other 
audio, and then play the result of the mix.

If you want multichannel and your output transport is rate-limited to the point 
where it can stream compressed 5.1 but not uncompressed 5.1 (e.g. optical) then 
the usual technique is to use an encoding EFX that accepts the uncompressed mix 
and compresses it in real time.

________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of Gregory House <drghouse221b@xxxxxxxxx>
Sent: Wednesday, January 23, 2019 7:57:41 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Rendering audio on a different device in kernel mode

Hello,

I am working on a capture device that sends ac3 data to a rendering device. I 
was hoping this can be done using the "playback through this device" option. 
But I found that this connects to the endpoint in shared mode and sending ac3 
requires exclusive mode. Is there anyway to gain exclusive access to a 
rendering device from a kernel mode driver? I know how to render audio in user 
mode using audioclient api. But is there something similar for kernel mode? Any 
help would be appreciated!

Other related posts: