Home
last modified time | relevance | path

Searched refs:DSOUND_FREQSHIFT (Results 1 – 5 of 5) sorted by relevance

/reactos/dll/directx/wine/dsound/
H A Dmixer.c108 acc = (framelen << DSOUND_FREQSHIFT) + (freqAdjust - 1 - freqAcc); in DSOUND_secpos_to_bufpos()
113 assert(oshot >= framelen << DSOUND_FREQSHIFT); in DSOUND_secpos_to_bufpos()
114 oshot -= framelen << DSOUND_FREQSHIFT; in DSOUND_secpos_to_bufpos()
133 acc = acc >> DSOUND_FREQSHIFT; in DSOUND_bufpos_to_secpos()
376 cp_fields(dsb, ibp, obp, iAdvance, oAdvance, size, 0, 1 << DSOUND_FREQSHIFT); in DSOUND_MixToTemporary()
384 overshot = freqAcc >> DSOUND_FREQSHIFT; in DSOUND_MixToTemporary()
394 freqAcc &= (1 << DSOUND_FREQSHIFT) - 1; in DSOUND_MixToTemporary()
H A Ddsound_convert.c50 if (*freqAcc >= (1 << DSOUND_FREQSHIFT)) in src_advance()
52 ULONG adv = (*freqAcc >> DSOUND_FREQSHIFT); in src_advance()
53 *freqAcc &= (1 << DSOUND_FREQSHIFT) - 1; in src_advance()
H A Ddsound_private.h405 #define DSOUND_FREQSHIFT (20) macro
H A Dbuffer.c295 This->freqAdjust = ((DWORD64)This->freq << DSOUND_FREQSHIFT) / This->device->pwfx->nSamplesPerSec; in IDirectSoundBufferImpl_SetFrequency()
1064 dsb->freqAdjust = ((DWORD64)dsb->freq << DSOUND_FREQSHIFT) / device->pwfx->nSamplesPerSec; in IDirectSoundBufferImpl_Create()
H A Dprimary.c583 (*dsb)->freqAdjust = ((DWORD64)(*dsb)->freq << DSOUND_FREQSHIFT) / device->pwfx->nSamplesPerSec; in primarybuffer_SetFormat()