• Home
  • Raw
  • Download

Lines Matching refs:wavefmt

39 	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()
144 while ( encoded_len >= MS_ADPCM_state.wavefmt.blockalign ) { in MS_ADPCM_decode()
191 MS_ADPCM_state.wavefmt.channels; in MS_ADPCM_decode()
210 encoded_len -= MS_ADPCM_state.wavefmt.blockalign; in MS_ADPCM_decode()
221 WaveFMT wavefmt; member
233 IMA_ADPCM_state.wavefmt.encoding = SDL_SwapLE16(format->encoding); in InitIMA_ADPCM()
234 IMA_ADPCM_state.wavefmt.channels = SDL_SwapLE16(format->channels); in InitIMA_ADPCM()
235 IMA_ADPCM_state.wavefmt.frequency = SDL_SwapLE32(format->frequency); in InitIMA_ADPCM()
236 IMA_ADPCM_state.wavefmt.byterate = SDL_SwapLE32(format->byterate); in InitIMA_ADPCM()
237 IMA_ADPCM_state.wavefmt.blockalign = SDL_SwapLE16(format->blockalign); in InitIMA_ADPCM()
238 IMA_ADPCM_state.wavefmt.bitspersample = in InitIMA_ADPCM()
335 channels = IMA_ADPCM_state.wavefmt.channels; in IMA_ADPCM_decode()
347 *audio_len = (encoded_len/IMA_ADPCM_state.wavefmt.blockalign) * in IMA_ADPCM_decode()
349 IMA_ADPCM_state.wavefmt.channels*sizeof(Sint16); in IMA_ADPCM_decode()
358 while ( encoded_len >= IMA_ADPCM_state.wavefmt.blockalign ) { in IMA_ADPCM_decode()
390 encoded_len -= IMA_ADPCM_state.wavefmt.blockalign; in IMA_ADPCM_decode()