From: Carsten Koch <Carsten.Koch@icem.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: optical SPDIF output on Abit NF7 nforce2 main board.
Date: Mon, 01 Sep 2003 19:57:39 +0200 [thread overview]
Message-ID: <3F538893.1010801@icem.com> (raw)
In-Reply-To: <s5hbru4o444.wl@alsa2.suse.de>
Takashi Iwai wrote:
...
>>Unfortunately, the sound is playing too fast with plughw:0,1 as well.
>
>
> please check /proc/asound/card1/pcm0p/sub0/hw_params during playback.
vdr:~ # head /proc/asound/card?/pcm?p/sub?/hw_params
==> /proc/asound/card0/pcm0p/sub0/hw_params <==
closed
==> /proc/asound/card0/pcm1p/sub0/hw_params <==
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 1024
buffer_size: 8192
tick_time: 10000
> if it shows 44100, perhaps spdif configuration doesn't match with the
> request one. please check the spdif status in
> /proc/asound/card/ac97#0, too.
vdr:~ # head -99 /proc/asound/card?/ac97#0
0-0/0: Realtek ALC650 rev 0
Capabilities :
DAC resolution : 20-bit
ADC resolution : 18-bit
3D enhancement : Realtek 3D Stereo Enhancement
Current setup
Mic gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Extended ID : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=7/8 SPDIF VRA
PCM front DAC : 44100Hz
PCM Surr DAC : 44100Hz
PCM LFE DAC : 44100Hz
PCM ADC : 48000Hz
SPDIF Control : Consumer PCM Copyright Category=0x2 Generation=1 Rate=44.1kHz
> you can overwrite the default pcm in ~/.asoundrc with '!' prefix.
> for example,
>
> pcm.!default "hw:0,1"
That syntax did not work. It gives me the error message:
ALSA lib pcm.c:1787:(snd_pcm_open_conf) Invalid type for PCM default definition (id: default, value: hw:0,1)
I changed it to
pcm.!default {
type hw
card 0
device 1
}
Should that have the same effect?
At least I can now omit the -d parameter for alsaplayer and the sound is still
coming out of the SPDIF output (still too fast, though, see above).
I can also control the volume via alsaplayer's slider.
However, the alsamixer volume control has no effect and kde desktop sounds
(i.e. typing ^G) do not work.
As I am not really using the analog output, it would be fine with me to
simply delete/deactive/hide the analog output PCM device, so the SPDIF output
becomes the only PCM device and everything (including the OSS emulation) works
with it.
Is there a way to do that?
Carsten.
P.S.: I am still trying to update to the latest CVS, but I keep getting the error message:
cvs [update aborted]: end of file from server (consult above messages if any)
I will keep trying and report any news on the loop-through as soon as I have
successfully installed the latest CVS version.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2003-09-01 17:57 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-01 11:28 optical SPDIF output on Abit NF7 nforce2 main board Carsten Koch
2003-09-01 12:56 ` Takashi Iwai
2003-09-01 13:42 ` James Courtier-Dutton
2003-09-01 13:51 ` Takashi Iwai
2003-09-01 13:45 ` Carsten Koch
2003-09-01 14:11 ` Takashi Iwai
2003-09-01 14:40 ` Carsten Koch
2003-09-01 15:17 ` Takashi Iwai
2003-09-01 15:58 ` Carsten Koch
2003-09-01 16:39 ` Takashi Iwai
2003-09-01 17:57 ` Carsten Koch [this message]
2003-09-01 18:40 ` Takashi Iwai
2003-09-01 19:13 ` Carsten Koch
2003-09-01 21:00 ` Carsten Koch
2003-09-02 13:06 ` Takashi Iwai
2003-09-27 18:00 ` optical SPDIF output on Abit NF7 nforce2 main board. (Summary) Carsten Koch
2003-09-28 19:41 ` Carsten Koch
2003-09-28 20:31 ` James Courtier-Dutton
2003-09-28 20:41 ` optical SPDIF output on Abit NF7 nforce2 main board.(Summary) Gerald Raaf
2003-09-02 13:21 ` optical SPDIF output on Abit NF7 nforce2 main board Takashi Iwai
2003-09-02 20:31 ` Carsten Koch
2003-09-03 8:35 ` Takashi Iwai
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=3F538893.1010801@icem.com \
--to=carsten.koch@icem.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox