Lines Matching refs:bitspersample

225 …RY_AUDIO, fmtstr, waveformat, format->frequency, wavechannel, format->bitspersample, wavebps, wave…  in WaveDebugLogFormat()
271 res = SDL_snprintf(dumpstr + dumppos, bufsize - dumppos, fmtstr2, format->bitspersample); in WaveDebugDumpFormat()
341 const size_t blockframebitsize = (size_t)file->format.bitspersample * file->format.channels; in MS_ADPCM_CalculateSampleFrames()
382 const size_t blockframebitsize = (size_t)format->bitspersample * format->channels; in MS_ADPCM_Init()
398 if (format->bitspersample != 4) { in MS_ADPCM_Init()
399 …return SDL_SetError("Invalid MS ADPCM bits per sample of %u", (unsigned int)format->bitspersample); in MS_ADPCM_Init()
801 const size_t blockframebitsize = (size_t)format->bitspersample * format->channels; in IMA_ADPCM_Init()
807 if (format->bitspersample == 3) { in IMA_ADPCM_Init()
809 } else if (format->bitspersample != 4) { in IMA_ADPCM_Init()
810 …eturn SDL_SetError("Invalid IMA ADPCM bits per sample of %u", (unsigned int)format->bitspersample); in IMA_ADPCM_Init()
1146 if (format->bitspersample != 8) { in LAW_Init()
1147 …eturn SDL_SetError("Invalid companded bits per sample of %u", (unsigned int)format->bitspersample); in LAW_Init()
1318 switch (format->bitspersample) { in PCM_Init()
1326 … return SDL_SetError("%u-bit PCM format not supported", (unsigned int)format->bitspersample); in PCM_Init()
1329 if (format->bitspersample != 32) { in PCM_Init()
1330 …L_SetError("%u-bit IEEE floating-point format not supported", (unsigned int)format->bitspersample); in PCM_Init()
1337 if (format->blockalign * 8 != format->channels * format->bitspersample) { in PCM_Init()
1429 if (format->encoding == PCM_CODE && format->bitspersample == 24) { in PCM_Decode()
1642 format->bitspersample = SDL_ReadLE16(fmtsrc); in WaveReadFormat()
1723 } else if (format->bitspersample == 0) { in WaveCheckFormat()
2066 switch (format->bitspersample) { in WaveLoad()
2079 … return SDL_SetError("Unexpected %u-bit PCM data format", (unsigned int)format->bitspersample); in WaveLoad()