From: Maeda <maeda1@free.fr>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [bug] Volume at maximum when track with different frequency is played with my RME sound card
Date: Sat, 21 Nov 2015 18:42:06 +0100 [thread overview]
Message-ID: <5650ACEE.5050402@free.fr> (raw)
In-Reply-To: <s5hfv007hpg.wl-tiwai@suse.de>
Hi !
Thanks for answering me.
Yes, turning the output volume up or down as soon as it's playing at
full output : it plays at the % it should play.
I'm OK to try the patch, but I don't find the /rme96.c/ file. Where is
it located ? I think a recompilation's needed then ? Never done that.
Thanks for help.
Kind regards.
Le 20/11/2015 17:34, Takashi Iwai a écrit :
> On Tue, 10 Nov 2015 13:41:44 +0100,
> Maeda wrote:
>> Hi !
>>
>> Someone's here ?
>>
>> Thanks.
>>
>> Le 23/10/2015 18:30, Maeda a écrit :
>>> Hi all !
>>>
>>> I don't know if the bug is known from your team, but some people
>>> advice me to send an email to the Alsa devel list if nobody answer in
>>> the kernel's bugtracking.
>>>
>>> Here is the bug I have :
>>> https://bugzilla.kernel.org/show_bug.cgi?id=105771
>>>
>>> What do you think about it ?
> Does the volume go down when you adjust DAC volume by mixer
> application when this happens?
>
> Through a quick glance at the driver code, the only smelling part is
> that it's calling snd_rme96_reset_dac() from
> snd_rme96_playback_setrate(). If the DAC volume adjustment really
> works, the patch below might work. Please give it a try.
>
> The patch has a code to give some delay that is commented out for
> now. The delay is found in the resume path, but I'm not sure whether
> it's mandatory. So let's try at first without the delay. If it's
> unstable, you can uncomment the line and retry.
>
>
> thanks,
>
> Takashi
>
> ---
> diff --git a/sound/pci/rme96.c b/sound/pci/rme96.c
> index 714df906249e..a9d8a66fc3da 100644
> --- a/sound/pci/rme96.c
> +++ b/sound/pci/rme96.c
> @@ -741,6 +741,9 @@ snd_rme96_playback_setrate(struct rme96 *rme96,
> {
> /* change to/from double-speed: reset the DAC (if available) */
> snd_rme96_reset_dac(rme96);
> + /* usleep_range(3000, 10000); */
> + if (RME96_HAS_ANALOG_OUT(rme96))
> + snd_rme96_apply_dac_volume(rme96);
> } else {
> writel(rme96->wcreg, rme96->iobase + RME96_IO_CONTROL_REGISTER);
> }
>
>
>
>
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2015-11-21 17:41 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <562A609E.6070205@free.fr>
2015-11-10 12:41 ` [bug] Volume at maximum when track with different frequency is played with my RME sound card Maeda
2015-11-20 16:34 ` Takashi Iwai
2015-11-21 17:42 ` Maeda [this message]
2015-11-21 19:45 ` Takashi Iwai
2015-11-21 19:54 ` Maeda
2015-12-02 10:11 ` Maeda
2015-12-02 11:36 ` Takashi Iwai
2015-12-02 20:43 ` Maeda
2015-12-03 11:05 ` Takashi Iwai
2015-12-04 10:44 ` Maeda
2015-12-04 11:19 ` Takashi Iwai
2015-12-04 12:12 ` Maeda
2015-12-04 12:47 ` Takashi Iwai
2015-12-04 12:54 ` Maeda
2015-12-04 14:24 ` Maeda
2015-12-04 14:36 ` Takashi Iwai
2015-12-04 15:01 ` Maeda
2015-12-04 15:08 ` Takashi Iwai
2015-12-04 15:14 ` Maeda
2015-12-04 15:51 ` Takashi Iwai
2015-12-04 17:13 ` Maeda
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=5650ACEE.5050402@free.fr \
--to=maeda1@free.fr \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox