Best practice for v1.4 Audio Stack

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
adamvietnam
Level 1
Level 1
Posts: 5
Joined: Fri Jul 01, 2011 6:35 am

Best practice for v1.4 Audio Stack

Post by adamvietnam »

Since installing versions of Wine with use the new audio stack we get small glitches in the directsound output from our application.

Its hard to pin down but seems to glitch for a few milliseconds when the disc gets used by ubuntu or similar.

I've checked that the directsound buffer isn't running dry and all the usual stuff and don't seem to be able to find a way of recreating it consistently - it just happens every 5-10 minutes.

Having read:

http://wiki.winehq.org/Sound
http://en.wikipedia.org/wiki/DirectSound

Both seem to suggest that DirectSound is past its sell-by-date for Windows 7 and because its running emulation mode these kind of glitches are possible.

Is my interpretation correct?
Will we get glitch-free audio playback if we recode our app to use WASAPI / MMDEVAPI ?

I notice Spotify plays perfectly under WINE.

Any advice would be greatly appreciated.

Thanks,

Adam
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

That might be a good question for wine-devel.

And you might consider filing a bug at bugs.winehq.org for the glitches,
especially if you can tell people what the app is, or ideally provide a download link.
And which versions of Windows it works well with.

In both cases, be sure to specify which versions of Wine and Linux you're talking about.
adamvietnam
Level 1
Level 1
Posts: 5
Joined: Fri Jul 01, 2011 6:35 am

Post by adamvietnam »

Thank Dan - will do.
Locked