Re: [AD] Bug in 4.1.15's DirectAMX changes |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Chris:
> wxprojects@xxxxxxxxxx wrote:
>> WritePrimary means you want to write to the main buffer. This is flaky
>> on some systems - you need to make sure you've got an actual hardware
>> sound card that supports DirectSound in order for it to work.
> Perhaps this is the problem then? Allegro might be stealing the main
> buffer away from the other apps, causing them to go silent.
> Daniel, could you try to change this? Should be around line 376 of
> src/win/wdsndmix.c. Change it from DSSCL_WRITEPRIMARY to DSSCL_PRIORITY,
> then run make and make install again.
Then install_sound() fails. Recompiling using DEBUGMODE=2 reveals that
IDirectSoundBuffer_Lock() fails with error: "Can't lock primary buffer
(DSERR_UNKNOWN)".
--
Daniel Schlyder
http://bitblaze.com/