Searched refs:wavefmt (Results 1 – 2 of 2) sorted by relevance
39 WaveFMT wavefmt; member54 MS_ADPCM_state.wavefmt.encoding = SDL_SwapLE16(format->encoding); in InitMS_ADPCM()55 MS_ADPCM_state.wavefmt.channels = SDL_SwapLE16(format->channels); in InitMS_ADPCM()56 MS_ADPCM_state.wavefmt.frequency = SDL_SwapLE32(format->frequency); in InitMS_ADPCM()57 MS_ADPCM_state.wavefmt.byterate = SDL_SwapLE32(format->byterate); in InitMS_ADPCM()58 MS_ADPCM_state.wavefmt.blockalign = SDL_SwapLE16(format->blockalign); in InitMS_ADPCM()59 MS_ADPCM_state.wavefmt.bitspersample = in InitMS_ADPCM()130 *audio_len = (encoded_len/MS_ADPCM_state.wavefmt.blockalign) * in MS_ADPCM_decode()132 MS_ADPCM_state.wavefmt.channels*sizeof(Sint16); in MS_ADPCM_decode()141 stereo = (MS_ADPCM_state.wavefmt.channels == 2); in MS_ADPCM_decode()[all …]
427 LPDIRECTSOUNDBUFFER *sndbuf, WAVEFORMATEX *wavefmt, Uint32 chunksize) in CreatePrimary() argument486 result = IDirectSoundBuffer_SetFormat(*sndbuf, wavefmt); in CreatePrimary()502 LPDIRECTSOUNDBUFFER *sndbuf, WAVEFORMATEX *wavefmt, Uint32 chunksize) in CreateSecondary() argument545 format.lpwfxFormat = wavefmt; in CreateSecondary()551 IDirectSoundBuffer_SetFormat(*sndbuf, wavefmt); in CreateSecondary()559 if ( wavefmt->wBitsPerSample == 8 ) { in CreateSecondary()