Hi Jerry,
With your patch applied, I get a write access to a NULL pointer when trying to get sound with dsound (winmm tests are running ok.)
Since I was using precompiled RPMs from freshrpms.net when doing the first try, I switched to 0.9.7 sources. Same result.
I attached a trace from a run of wine dsound_test.exe.so dsound --debugmsg +wave,+dsound,+dsound3d
Could you have a look on this ?
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259 Say NO to software patents Dites NON aux brevets logiciels
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
With the trace its better ;)
I attached a trace from a run of wine dsound_test.exe.so dsound --debugmsg +wave,+dsound,+dsound3d
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259 Say NO to software patents Dites NON aux brevets logiciels
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Hi Jerry,
With your patch applied, I get a write access to a NULL pointer when trying to get sound with dsound (winmm tests are running ok.)
Since I was using precompiled RPMs from freshrpms.net when doing the first try, I switched to 0.9.7 sources. Same result.
I attached a trace from a run of wine dsound_test.exe.so dsound --debugmsg +wave,+dsound,+dsound3d
Could you have a look on this ?
I'll work on it.
I noticed that sometimes there are still noticeable intervals. But if I run some OSS programs first like
Play /usr/share/sound/KDE_Startup.wav,
DSOUND works very well then.
After some more investigation, I found that snd_pcm_mmap_commit copys the data as snd_pcm_areas_copy in the origin callback. My patch only decreases the times that the data are copied. I can't figure out why it works after run OSS programs though.
===== Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259 Say NO to software patents Dites NON aux brevets logiciels
"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com