Home
last modified time | relevance | path

Searched refs:sndbuf (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/audio/sun/
A DSDL_sunaudio.c120 Uint8 *sndbuf; in SUNAUDIO_PlayDevice() local
122 sndbuf = this->hidden->mixbuf; in SUNAUDIO_PlayDevice()
124 *aubuf = snd2au((0x80 - *sndbuf) * 64); in SUNAUDIO_PlayDevice()
128 sndbuf += 1; in SUNAUDIO_PlayDevice()
136 Sint16 *sndbuf; in SUNAUDIO_PlayDevice() local
138 sndbuf = (Sint16 *) this->hidden->mixbuf; in SUNAUDIO_PlayDevice()
140 *aubuf = snd2au(*sndbuf / 4); in SUNAUDIO_PlayDevice()
144 sndbuf += 1; in SUNAUDIO_PlayDevice()
/AliOS-Things-master/components/SDL2/src/audio/directsound/
A DSDL_directsound.c392 LPDIRECTSOUNDBUFFER *sndbuf = &this->hidden->mixbuf; in CreateSecondary() local
405 result = IDirectSound_CreateSoundBuffer(sndObj, &format, sndbuf, NULL); in CreateSecondary()
409 IDirectSoundBuffer_SetFormat(*sndbuf, wfmt); in CreateSecondary()
412 result = IDirectSoundBuffer_Lock(*sndbuf, 0, format.dwBufferBytes, in CreateSecondary()
418 IDirectSoundBuffer_Unlock(*sndbuf, in CreateSecondary()

Completed in 4 milliseconds