Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Demian Martin" <demianm@attglobal.net>
To: alsa-devel@alsa-project.org
Cc: 'Kirill Belokurov' <kirill.b@plutohome.com>
Subject: Re: How to set idle S/PDIF sample rate?
Date: Thu, 28 Feb 2008 22:02:50 -0800	[thread overview]
Message-ID: <00c701c87a98$b7cf6860$d450a8c0@PDSMain2> (raw)
In-Reply-To: <mailman.2237.1204248430.2095.alsa-devel@alsa-project.org>

I noticed another big problem in my application relating to locking the
system at 48 KHz in the background. If I set SPDIF to 44.1KHz on some
playback software (Xine for example) between tracks the system briefly
switches back to 48 KHz. This causes an audible pop as the external DAC
tries to keep up with the rate change. I have not found a way to lock the
system at a different rate (44100 for example) so this doesn't happen
between tracks. This behavior is common to both the ICE1724 and the VT1708
drivers. 
       -Demian



Date: Thu, 28 Feb 2008 16:12:10 -0500
From: Matt Whitlock <matt@whitlock.name>
Subject: Re: [alsa-devel] How to set idle S/PDIF sample rate?
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Message-ID: <200802281612.11099.matt@whitlock.name>
Content-Type: text/plain;  charset="iso-8859-1"

On Thursday, 28 February 2008 6:43:25 am Takashi Iwai wrote:
> The driver code resets the format verb of the relevant widgets at 
> closing streams.  This verb contains the sample rate, too.  Maybe 
> keeping this would prevent the reset.
> 
> The below is a test patch.  Give it a try.

Wow, fantastic.  I will give this patch a try.  I'll have to rebuild my
kernel to disable the in-kernel ALSA code and build the ALSA module
separately from the latest sources, but if this patch fixes things, that
would be worth the effort.  I'll get back to you.  Thanks.

-Matt

       reply	other threads:[~2008-02-29  6:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2237.1204248430.2095.alsa-devel@alsa-project.org>
2008-02-29  6:02 ` Demian Martin [this message]
2008-02-29  8:33   ` How to set idle S/PDIF sample rate? Matt Whitlock
2008-02-23  3:34 Matt Whitlock
2008-02-25 11:16 ` Takashi Iwai
2008-02-25 19:03   ` Matt Whitlock
2008-02-25 19:51     ` Pavel Hofman
2008-02-25 20:40       ` Matt Whitlock
2008-02-26 14:01     ` Takashi Iwai
2008-02-26 22:25       ` Matt Whitlock
2008-02-27 14:28         ` Pavel Hofman
2008-02-27 20:26           ` Matt Whitlock
2008-02-28 11:43         ` Takashi Iwai
2008-02-28 21:12           ` Matt Whitlock

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='00c701c87a98$b7cf6860$d450a8c0@PDSMain2' \
    --to=demianm@attglobal.net \
    --cc=alsa-devel@alsa-project.org \
    --cc=kirill.b@plutohome.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox