From: patrick reardon <swpatrick@earthlink.net>
To: alsa-devel@lists.sourceforge.net
Subject: Hammerfall configuration
Date: Thu, 19 Dec 2002 10:55:30 -0600 [thread overview]
Message-ID: <3E01FA02.D0B4CD44@earthlink.net> (raw)
i have an AI-3 connected to the hammerfall's optical in/outs. the converter will slave to
any clock, but when it's the master clock it only operates at 48K. when i use "arecord -f
cd <file>" this seems to cause arecord to write 44.1k headers even though the data is at
48K. "aplay" has no problem with this (files play back at normal speed), but it seems to
cause problems with other software such as "cdrecord" which burns the files to disk about
2-3 half steps too low. i tried resampling down to 44.1k with "sox" but it didn't seem to
help (i'm guessing it's also fooled by the 44.1k headers).
i'd like to use the hammerfall's internal clock as the master and let the AI-3 slave to
it, but am having trouble changing the configuration of the card. i've looked for
documentation about this but so far haven't found any. i tried editing asound.state
-----------snip------------
control.7 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 AutoSync
comment.item.1 Master
comment.item.2 'Word Clock'
iface PCM
name 'Sync Mode'
value AutoSync
}
control.8 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 'IEC958 In'
comment.item.1 'ADAT1 In'
comment.item.2 'ADAT2 In'
iface PCM
name 'Preferred Sync Source'
value 'ADAT1 In'
------------snip------------
by hand, changing the 'Sync Mode' value from AutoSync to Master (should these values be
in quotes?), ran "alsactl store hammerfall", unloaded then reloaded the alsa modules, then
ran "alsactl restore hammerfall. ("hammerfall" is the card's id.) but asound.state
still indicates Sync Mode is set to AutoSync. "vi /proc/asound/hammerfall/rme9652" reads
--------------snip----------------
Latency: 8192 samples (2 periods of 32768 bytes)
Hardware pointer (frames): 0
Passthru: no
Clock mode: autosync
Pref. sync source: ADAT1
IEC958 input: Coaxial
IEC958 output: Coaxial only
IEC958 quality: Consumer
IEC958 emphasis: off
IEC958 Dolby: off
IEC958 sample rate: error flag set
ADAT Sample rate: 48000Hz
ADAT1: No Lock
ADAT2: No Lock
ADAT3: No Lock
--------------snip-----------------
i'm also curious if the "IEC958 sample rate: error flag set" is normal and if not, what to
look at to fix it. asound.state says
----------snip-----------
control.10 {
comment.access read
comment.type INTEGER
comment.range '0 - 96000'
iface PCM
name 'IEC958 Sample Rate'
value -1
----------snip-----------
changing the configuration must be a simple affair (i think) but i'm out of ideas. any
suggestions or a pointer to relevant documentation would be appreciated. also, if there's
no documentation on this issue, i'd be glad to write some once i figure it out.
tia,
patrick
-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
next reply other threads:[~2002-12-19 16:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-19 16:55 patrick reardon [this message]
2002-12-19 17:28 ` Hammerfall configuration Paul Davis
[not found] <200212190924.18p4pc1V73NZFji0@eagle>
2002-12-19 19:15 ` patrick reardon
2002-12-19 19:34 ` Paul Davis
[not found] <200212191130.18p6nx3RJ3NZFl40@penguin>
2002-12-19 19:52 ` patrick reardon
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=3E01FA02.D0B4CD44@earthlink.net \
--to=swpatrick@earthlink.net \
--cc=alsa-devel@lists.sourceforge.net \
/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.