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.


Regards,
Clemens

--- 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)
 			kfree(fp);
 			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.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux