Lines Matching defs:format
58 /* WAV format chunk */
77 int format;
185 snd_pcm_format_name(pcm->format));
277 fmt->bits = snd_pcm_format_width(pcm->format);
345 if (file->format == SND_PCM_FILE_FORMAT_WAV &&
389 pcm->channels, n, pcm->format);
714 * \param fmt File format ("raw" or "wav" are available)
730 snd_pcm_file_format_t format;
737 format = SND_PCM_FILE_FORMAT_RAW;
739 format = SND_PCM_FILE_FORMAT_WAV;
741 SNDERR("file format %s is unknown", fmt);
767 file->format = format;
815 # STR can contain format keys, replaced by
820 # %f sample format string
825 infile STR # Input filename - only raw format
828 [format STR] # File format ("raw" or "wav")
864 const char *format = NULL;
878 if (strcmp(id, "format") == 0) {
879 err = snd_config_get_string(n, &format);
930 if (!format) {
934 err = snd_config_get_string(n, &format);
936 SNDERR("Invalid file format");
958 trunc, format, perm, spcm, 1);