Searched refs:lpDSBuffer (Results 1 – 2 of 2) sorted by relevance
/dports/games/libretro-fuse/fuse-libretro-8b51f87/fuse/sound/ |
H A D | dxsound.c | 40 static LPDIRECTSOUNDBUFFER lpDSBuffer; /* sound buffer */ variable 113 if( IDirectSound_CreateSoundBuffer( lpDS, &dsbd, &lpDSBuffer, NULL ) in sound_lowlevel_init() 123 if( IDirectSoundBuffer_Play( lpDSBuffer, 0, 0, DSBPLAY_LOOPING ) != DS_OK ) { in sound_lowlevel_init() 126 IDirectSoundBuffer_Release( lpDSBuffer ); in sound_lowlevel_init() 140 if( IDirectSoundBuffer_Stop( lpDSBuffer ) != DS_OK ) { in sound_lowlevel_end() 145 IDirectSoundBuffer_Release( lpDSBuffer ); in sound_lowlevel_end() 169 IDirectSoundBuffer_GetCurrentPosition( lpDSBuffer, &playcursor, NULL ); in sound_lowlevel_frame() 183 hres = IDirectSoundBuffer_Lock( lpDSBuffer, nextpos, (DWORD)len, in sound_lowlevel_frame() 230 IDirectSoundBuffer_Unlock( lpDSBuffer, ucbuffer1, i1, ucbuffer2, i2 ); in sound_lowlevel_frame()
|
/dports/emulators/fuse/fuse-1.6.0/sound/ |
H A D | dxsound.c | 38 static LPDIRECTSOUNDBUFFER lpDSBuffer; /* sound buffer */ variable 111 if( IDirectSound_CreateSoundBuffer( lpDS, &dsbd, &lpDSBuffer, NULL ) in sound_lowlevel_init() 121 if( IDirectSoundBuffer_Play( lpDSBuffer, 0, 0, DSBPLAY_LOOPING ) != DS_OK ) { in sound_lowlevel_init() 124 IDirectSoundBuffer_Release( lpDSBuffer ); in sound_lowlevel_init() 138 if( IDirectSoundBuffer_Stop( lpDSBuffer ) != DS_OK ) { in sound_lowlevel_end() 143 IDirectSoundBuffer_Release( lpDSBuffer ); in sound_lowlevel_end() 167 IDirectSoundBuffer_GetCurrentPosition( lpDSBuffer, &playcursor, NULL ); in sound_lowlevel_frame() 181 hres = IDirectSoundBuffer_Lock( lpDSBuffer, nextpos, (DWORD)len, in sound_lowlevel_frame() 228 IDirectSoundBuffer_Unlock( lpDSBuffer, ucbuffer1, i1, ucbuffer2, i2 ); in sound_lowlevel_frame()
|