Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/audio/
DSDL_wave.c39 WaveFMT wavefmt; member
54 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 …]
/external/qemu/distrib/sdl-1.2.12/src/audio/windx5/
DSDL_dx5audio.c427 LPDIRECTSOUNDBUFFER *sndbuf, WAVEFORMATEX *wavefmt, Uint32 chunksize) in CreatePrimary() argument
486 result = IDirectSoundBuffer_SetFormat(*sndbuf, wavefmt); in CreatePrimary()
502 LPDIRECTSOUNDBUFFER *sndbuf, WAVEFORMATEX *wavefmt, Uint32 chunksize) in CreateSecondary() argument
545 format.lpwfxFormat = wavefmt; in CreateSecondary()
551 IDirectSoundBuffer_SetFormat(*sndbuf, wavefmt); in CreateSecondary()
559 if ( wavefmt->wBitsPerSample == 8 ) { in CreateSecondary()