• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/usb/

Lines Matching defs:format

35  * parse the audio format type I descriptor
36 * and returns the corresponding pcm format
40 * @format: the format tag (wFormatTag)
41 * @fmt: the format type descriptor
45 int format, void *_fmt,
57 format = 1 << format;
65 format <<= 1;
72 if (format == 0 || format == (1 << UAC_FORMAT_TYPE_I_UNDEFINED)) {
74 snd_printdd(KERN_INFO "%d:%u:%d : format type 0 is detected, processed as PCM\n",
76 format = 1 << UAC_FORMAT_TYPE_I_PCM;
78 if (format & (1 << UAC_FORMAT_TYPE_I_PCM)) {
84 /* check the format byte size */
111 if (format & (1 << UAC_FORMAT_TYPE_I_PCM8)) {
117 if (format & (1 << UAC_FORMAT_TYPE_I_IEEE_FLOAT)) {
120 if (format & (1 << UAC_FORMAT_TYPE_I_ALAW)) {
123 if (format & (1 << UAC_FORMAT_TYPE_I_MULAW)) {
126 if (format & ~0x3f) {
127 snd_printk(KERN_INFO "%d:%u:%d : unsupported format bits %#x\n",
128 chip->dev->devnum, fp->iface, fp->altsetting, format);
135 * parse the format descriptor and stores the possible sample rates
140 * @fmt: the format descriptor
192 hwc_debug("All rates were zero. Skipping format!\n");
259 * parse the format descriptor and stores the possible sample rates
341 * parse the format type I and III descriptors
344 struct audioformat *fp, int format,
367 fp->formats = parse_audio_format_i_type(chip, fp, format,
403 * parse the format type II descriptor
407 int format, void *_fmt,
414 switch (format) {
423 snd_printd(KERN_INFO "%d:%u:%d : unknown format tag %#x is detected. processed as MPEG.\n",
424 chip->dev->devnum, fp->iface, fp->altsetting, format);
440 snd_printd(KERN_INFO "found format II with max.bitrate = %d, frame size=%d\n", brate, framesize);
449 snd_printd(KERN_INFO "found format II with max.bitrate = %d, frame size=%d\n", brate, framesize);
460 int format, struct uac_format_type_i_continuous_descriptor *fmt,
468 err = parse_audio_format_i(chip, fp, format, fmt, iface);
471 err = parse_audio_format_ii(chip, fp, format, fmt, iface);
474 snd_printd(KERN_INFO "%d:%u:%d : format type %d is not supported yet\n",