Lines Matching defs:format
135 /* Mono is ok with any format */
697 struct audioformat format;
700 DE_HWP(("Prepare rate=%d format=%d channels=%d\n",
701 runtime->rate, runtime->format, runtime->channels));
702 format.interleave = runtime->channels;
703 format.data_are_bigendian = 0;
704 format.mono_to_stereo = 0;
705 switch (runtime->format) {
707 format.bits_per_sample = 8;
710 format.bits_per_sample = 16;
713 format.bits_per_sample = 24;
716 format.data_are_bigendian = 1;
718 format.bits_per_sample = 32;
721 DE_HWP(("Prepare error: unsupported format %d\n",
722 runtime->format));
730 set_audio_format(chip, pipe_index, &format);