Re: usb bridge and default sample rate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pr0t0cod7@xxxxxxx wrote:
> I believe the problem is that when alsa initialise the USB device, the default sample rate would be 96khz ?

Yes, the driver does this, but it shouldn't.

Please try the patch below.


--- a/sound/usb/stream.c
+++ b/sound/usb/stream.c
@@ -442,10 +442,6 @@ int snd_usb_parse_audio_interface(struct snd_usb_audio *chip, int iface_no)
 			return err;
-		/* try to set the interface... */
-		usb_set_interface(chip->dev, iface_no, altno);
-		snd_usb_init_pitch(chip, iface_no, alts, fp);
-		snd_usb_init_sample_rate(chip, iface_no, alts, fp, fp->rate_max);
 	return 0;

Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
Alsa-user mailing list

[ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Free Dating Site]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux