Lines Matching defs:format
37 const char * container_suffix_from_format(enum container_format format)
39 return suffixes[format];
216 cntr->format = parser->format;
225 enum container_format format, unsigned int verbose)
262 builder = builders[format];
274 cntr->format = builder->format;
283 snd_pcm_format_t *format,
293 assert(format);
302 err = cntr->ops->pre_process(cntr, format, samples_per_frame,
310 if (cntr->format == CONTAINER_FORMAT_RAW) {
311 if (*format == SND_PCM_FORMAT_UNKNOWN ||
314 "Any file format is not detected. Need to "
315 "indicate all of sample format, channels and "
320 assert(*format >= SND_PCM_FORMAT_S8);
321 assert(*format <= SND_PCM_FORMAT_LAST);
326 cntr->bytes_per_sample = snd_pcm_format_physical_width(*format) / 8;
337 fprintf(stderr, " format: %s\n",
338 cntr_format_labels[cntr->format]);
339 fprintf(stderr, " sample format: %s\n",
340 snd_pcm_format_name(*format));
377 // A parser of cotainers already read first 4 bytes to detect format
378 // of container, however they includes PCM frames when any format was
381 if (cntr->format == CONTAINER_FORMAT_RAW &&