[wdmaudiodev] Re: WASAPI exclusive mode audio render issue (2) [solved?]

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 15 Sep 2015 15:28:26 +0000

Can you share your code, and take glitch traces?

http://blogs.msdn.com/b/matthew_van_eerde/archive/2015/08/11/taking-audio-glitch-traces-on-windows-10-desktop-edition.aspx

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Jerry Evans
Sent: Tuesday, September 15, 2015 5:55 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: WASAPI exclusive mode audio render issue (2)
[solved?]

A degree of success with USB devices on Windows 7.

I have got the renderer to work correctly by *not* calling
IAudioClient::GetCurrentPadding() when in exclusive mode. It simply results in
glitches.

Does this make any sense? The docs do not imply this is a bad idea ...
(https://msdn.microsoft.com/en-us/library/windows/desktop/dd370868(v=vs.85).
aspx)

Even with this fix, the M-Audio PCI card is still glitching badly and the
on-board HDA produces nothing at all.

we've a total buffer size of 441 * 2 * 16? with data interleaved as
[L0][R0][L1][R1][...][Ln][Rn]

Where n == 441 of course.

Err, 440.

Jerry.


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

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: