Lines Matching defs:format
123 snd_pcm_format_t format;
179 for (format = 0; format <= SND_PCM_FORMAT_LAST; format++) {
180 if (snd_pcm_format_mask_test(formatMask, format)) {
181 // format exists
182 if (getFormatFromAlsaFormat(format, &origSampleSizeInBytes,
229 TRACE1("could not get format from alsa for format %d\n", format);
232 //TRACE1("Format %d not supported\n", format);
308 snd_pcm_format_t format) {
319 /* set the interleaved read/write format */
325 /* set the sample format */
326 ret = snd_pcm_hw_params_set_format(info->handle, info->hwParams, format);
328 ERROR1("Sample format not available: %s\n", snd_strerror(ret));
422 snd_pcm_format_t format;
457 if (getAlsaFormatFromFormat(&format, frameSize / channels, sampleSizeInBits,
463 format)) {