From: Takashi Iwai <tiwai@suse.de>
To: Carsten Koch <Carsten.Koch@icem.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: optical SPDIF output on Abit NF7 nforce2 main board.
Date: Tue, 02 Sep 2003 15:21:33 +0200 [thread overview]
Message-ID: <s5hisobmile.wl@alsa2.suse.de> (raw)
In-Reply-To: <3F539A3E.3030508@icem.com>
[-- Attachment #1: Type: text/plain, Size: 807 bytes --]
At Mon, 01 Sep 2003 21:13:02 +0200,
Carsten Koch wrote:
>
> Takashi Iwai wrote:
> ...
> > ok, then apparently it looks like working correctly.
>
> Look: yes, sound: no. ;-)
>
>
> > can you play mp3 on normal analog output correctly?
>
> Yes. It looks like this:
>
> vdr:~ # head /proc/asound/card?/pcm?p/sub?/hw_params
> ==> /proc/asound/card0/pcm0p/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
>
> ==> /proc/asound/card0/pcm1p/sub0/hw_params <==
> closed
>
> and it sounds OK.
looking at the nvidia's driver code, it seems that spdif on nforce
supports only 48k in fact.
i'll add the restriction on the driver side, then.
could you try the attached patch?
Takashi
[-- Attachment #2: nforce-spdif-48k.dif --]
[-- Type: application/octet-stream, Size: 848 bytes --]
Index: alsa-kernel/pci/intel8x0.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/intel8x0.c,v
retrieving revision 1.92
diff -u -r1.92 intel8x0.c
--- alsa-kernel/pci/intel8x0.c 12 Aug 2003 14:05:07 -0000 1.92
+++ alsa-kernel/pci/intel8x0.c 2 Sep 2003 13:20:34 -0000
@@ -1534,7 +1534,7 @@
{ NVD_PCMOUT, { AC97_PCM_FRONT_DAC_RATE, AC97_PCM_SURR_DAC_RATE, AC97_PCM_LFE_DAC_RATE }, AC97_RATES_FRONT_DAC },
{ NVD_PCMIN, { AC97_PCM_LR_ADC_RATE, 0, 0 }, AC97_RATES_ADC },
{ NVD_MIC, { AC97_PCM_MIC_ADC_RATE, 0, 0 }, AC97_RATES_MIC_ADC },
- { NVD_SPBAR, { AC97_SPDIF, AC97_PCM_FRONT_DAC_RATE, 0 }, AC97_RATES_SPDIF },
+ { NVD_SPBAR, { AC97_SPDIF, AC97_PCM_FRONT_DAC_RATE, 0 }, -1 }, /* spdif is 48k only */
};
static struct _ac97_rate_regs ali_ac97_rate_regs[] __devinitdata = {
next prev parent reply other threads:[~2003-09-02 13:21 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
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 ` Takashi Iwai [this message]
2003-09-02 20:31 ` optical SPDIF output on Abit NF7 nforce2 main board 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=s5hisobmile.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=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 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.