Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5311
b: refs/heads/master
c: b4d3f9d
h: refs/heads/master
i:
  5309: b8cf404
  5307: d25b629
  5303: 669e424
  5295: 263a867
  5279: a94bfb6
  5247: d2e409c
v: v3
  • Loading branch information
Clemens Ladisch authored and Jaroslav Kysela committed Jul 28, 2005
1 parent f15d7eb commit 2bbe03d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 573567e07bb4470ff177f17d1adca3f3bd310221
refs/heads/master: b4d3f9d452ec574e0ffb292267427f69bb470631
3 changes: 1 addition & 2 deletions trunk/sound/usb/usbaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2408,10 +2408,9 @@ static int parse_audio_format(snd_usb_audio_t *chip, struct audioformat *fp,
if (chip->usb_id == USB_ID(0x041e, 0x3000) ||
chip->usb_id == USB_ID(0x041e, 0x3020)) {
if (fmt[3] == USB_FORMAT_TYPE_I &&
stream == SNDRV_PCM_STREAM_PLAYBACK &&
fp->rates != SNDRV_PCM_RATE_48000 &&
fp->rates != SNDRV_PCM_RATE_96000)
return -1; /* use 48k only */
return -1;
}
#endif
return 0;
Expand Down

0 comments on commit 2bbe03d

Please sign in to comment.