From: Clemens Ladisch <clemens@ladisch.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: Torstein Hegge <hegge@resisty.net>,
alsa-devel@alsa-project.org, zonque@gmail.com
Subject: Re: [PATCH v5] ALSA: usb: Work around CM6631 sample rate change bug
Date: Wed, 03 Apr 2013 12:15:49 +0200 [thread overview]
Message-ID: <515C0155.4090009@ladisch.de> (raw)
In-Reply-To: <s5hr4is54jp.wl%tiwai@suse.de>
Takashi Iwai wrote:
> Torstein Hegge wrote:
>> The C-Media CM6631 USB receiver doesn't respond to changes in sample rate
>> while the interface is active. The same behavior is observed in other UAC2
>> hardware like the VIA VT1731.
>>
>> Reset the interface after setting the sampling frequency on sample rate
>> changes, to ensure that the sample rate set by snd_usb_init_sample_rate() is
>> used. Otherwise, the device will try to use the sample rate of the previous
>> stream, causing distorted sound on sample rate changes.
>>
>> The reset is performed for all UAC2 devices, as it should not affect a
>> standards compliant device, but it is only necessary for C-Media CM6631,
>> VIA VT1731 and possibly others.
>>
>> Failure to read sample rate from the device is not handled as an error in
>> set_sample_rate_v2(), as (permanent or intermittent) failure to read sample
>> rate isn't essential for a successful sample rate set.
>>
>> Signed-off-by: Torstein Hegge <hegge@resisty.net>
>
> What about the latest status of the patch?
>
> If both Clemens and Daniel are happy with it, I can apply it for the
> next 3.9-rc.
Acked-by: Clemens Ladisch <clemens@ladisch.de>
with or without this change:
> Though, it would be nicer if two identical calls of snd_usb_ctl_msg
> can be put into a single function,
Regards,
Clemens
next prev parent reply other threads:[~2013-04-03 10:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-26 21:10 [PATCH v5] ALSA: usb: Work around CM6631 sample rate change bug Torstein Hegge
2013-03-27 10:09 ` Clemens Ladisch
2013-03-27 11:47 ` Torstein Hegge
2013-03-27 11:52 ` Daniel Mack
2013-03-27 12:46 ` Torstein Hegge
2013-04-03 9:47 ` Takashi Iwai
2013-04-03 10:15 ` Clemens Ladisch [this message]
2013-04-03 17:22 ` Takashi Iwai
2013-04-03 21:22 ` Eldad Zack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=515C0155.4090009@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=hegge@resisty.net \
--cc=tiwai@suse.de \
--cc=zonque@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.