search for: entercriticialsect

Displaying 2 results from an estimated 2 matches for "entercriticialsect".

2002 Mar 21
1
Ogg Vorbis and DirectSound streaming
...to work the IStream interface must implement read/seek functions so they are build using only ov_read() and ov_pcm_seek() from the vorbis-sdk. First, I thought that the problem is that more than one thread is trying to use this functions and it forces the application to crash but I've added EnterCriticialSection() and LeaveCriticalSection() in the read and seek methods - the problem haven't disappeared(the application can mix more than one sound during playing). Can someone help me with some hints what the problem can be. The strange thing is that it crashes randomly(it can play a song one or tw...
2002 Apr 02
0
AW: Ogg Vorbis and DirectSound streaming
...am interface must implement read/seek functions so they are build > using only > ov_read() and ov_pcm_seek() from the vorbis-sdk. First, I thought that the > problem is that more than one thread is trying to use this functions and it > forces the application to crash but I've added EnterCriticialSection() > and > LeaveCriticalSection() in the read and seek methods - the problem haven't > disappeared(the application can mix more than one sound during playing). Can > someone help me with some hints what the problem can be. > > The strange thing is that it crashes randomly(i...