dsound: Constify DSOUND_CheckEvent.
This commit is contained in:
parent
bfa05bf232
commit
3b9877fa14
|
@ -429,7 +429,7 @@ HRESULT DSOUND_FullDuplexCreate(REFIID riid, LPDIRECTSOUNDFULLDUPLEX* ppDSFD);
|
|||
|
||||
/* mixer.c */
|
||||
|
||||
void DSOUND_CheckEvent(IDirectSoundBufferImpl *dsb, DWORD playpos, int len);
|
||||
void DSOUND_CheckEvent(const IDirectSoundBufferImpl *dsb, DWORD playpos, int len);
|
||||
void DSOUND_RecalcVolPan(PDSVOLUMEPAN volpan);
|
||||
void DSOUND_AmpFactorToVolPan(PDSVOLUMEPAN volpan);
|
||||
void DSOUND_RecalcFormat(IDirectSoundBufferImpl *dsb);
|
||||
|
|
|
@ -106,7 +106,7 @@ void DSOUND_RecalcFormat(IDirectSoundBufferImpl *dsb)
|
|||
* "last played" position for the buffer (i.e. dsb->playpos) and "len" bytes
|
||||
* beyond that position.
|
||||
*/
|
||||
void DSOUND_CheckEvent(IDirectSoundBufferImpl *dsb, DWORD playpos, int len)
|
||||
void DSOUND_CheckEvent(const IDirectSoundBufferImpl *dsb, DWORD playpos, int len)
|
||||
{
|
||||
int i;
|
||||
DWORD offset;
|
||||
|
|
Loading…
Reference in New Issue