* dxs_support detection or feature broken?
@ 2004-01-24 4:40 John Gotts
2004-01-26 11:20 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: John Gotts @ 2004-01-24 4:40 UTC (permalink / raw)
To: alsa-devel
I have an ASUS A7V8X motherboard with a VIA VT8233 audio controller equipped
with SPDIF. I have a set of digital speakers and use the SPDIF out for
everything possible. (The speakers will fall back to analog if there is no
digital signal present.)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
For a long time (through 1.0.0rc1) I had been using plug:spdif as my audio
device and aplay had no problems playing 22,050 Hz WAV files:
aplay -D plug:spdif <filename>.wav
But with 1.0.1 my speakers started playing 22,050 Hz WAV files at 48,000 Hz.
After reading the following thread:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg10448.html
I added the following line to my /etc/modules.conf:
options snd-via82xx dxs_support=3
and plug:spdif is working again. One message says "By default snd-via82xx uses
dxs_support=3 (except for certain known motherboards)." Either my motherboard
should become unknown or this feature is not working correctly.
John
--
John GOTTS <jgotts@linuxsavvy.com> http://linuxsavvy.com/staff/jgotts
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dxs_support detection or feature broken?
2004-01-24 4:40 dxs_support detection or feature broken? John Gotts
@ 2004-01-26 11:20 ` Takashi Iwai
2004-01-26 19:08 ` jgotts
0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2004-01-26 11:20 UTC (permalink / raw)
To: John Gotts; +Cc: alsa-devel
At Fri, 23 Jan 2004 23:40:18 -0500,
John Gotts wrote:
>
> I have an ASUS A7V8X motherboard with a VIA VT8233 audio controller equipped
> with SPDIF. I have a set of digital speakers and use the SPDIF out for
> everything possible. (The speakers will fall back to analog if there is no
> digital signal present.)
>
> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
>
> For a long time (through 1.0.0rc1) I had been using plug:spdif as my audio
> device and aplay had no problems playing 22,050 Hz WAV files:
>
> aplay -D plug:spdif <filename>.wav
>
> But with 1.0.1 my speakers started playing 22,050 Hz WAV files at 48,000 Hz.
>
> After reading the following thread:
>
> http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg10448.html
>
> I added the following line to my /etc/modules.conf:
>
> options snd-via82xx dxs_support=3
>
> and plug:spdif is working again. One message says "By default snd-via82xx uses
> dxs_support=3 (except for certain known motherboards)." Either my motherboard
> should become unknown or this feature is not working correctly.
well, the dxs_support detection is correct.
the problem is that spdif doesn't support 22.5kHz but the via82xx
driver doesn't restrict the sample rates for spdif.
i guess 44.1khz sample can be played correctly even without "plug".
ok, this bug should be fixed in the future...
a workaround is to define your own pcm such as
pcm.myspdif {
type plug
slave {
pcm "spdif"
rate 48000
}
}
and
% apaly -Dmyspdif 22500hz.wav
Takashi
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: dxs_support detection or feature broken?
2004-01-26 11:20 ` Takashi Iwai
@ 2004-01-26 19:08 ` jgotts
0 siblings, 0 replies; 3+ messages in thread
From: jgotts @ 2004-01-26 19:08 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
In message <s5hr7xnufbz.wl@alsa2.suse.de>, Takashi Iwai writes:
>At Fri, 23 Jan 2004 23:40:18 -0500,
>John Gotts wrote:
>> I have an ASUS A7V8X motherboard with a VIA VT8233 audio controller equipped
>> with SPDIF. I have a set of digital speakers and use the SPDIF out for
>> everything possible. (The speakers will fall back to analog if there is no
>> digital signal present.)
>> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audi
>o Controller (rev 50)
>> For a long time (through 1.0.0rc1) I had been using plug:spdif as my audio
>> device and aplay had no problems playing 22,050 Hz WAV files:
>> aplay -D plug:spdif <filename>.wav
>> But with 1.0.1 my speakers started playing 22,050 Hz WAV files at 48,000 Hz.
>> After reading the following thread:
>> http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg10448.html
>> I added the following line to my /etc/modules.conf:
>> options snd-via82xx dxs_support=3
>> and plug:spdif is working again. One message says "By default snd-via82xx u
>ses
>> dxs_support=3 (except for certain known motherboards)." Either my motherboa
>rd
>> should become unknown or this feature is not working correctly.
>well, the dxs_support detection is correct.
>the problem is that spdif doesn't support 22.5kHz but the via82xx
>driver doesn't restrict the sample rates for spdif.
>i guess 44.1khz sample can be played correctly even without "plug".
>ok, this bug should be fixed in the future...
>a workaround is to define your own pcm such as
>pcm.myspdif {
> type plug
> slave {
> pcm "spdif"
> rate 48000
> }
>}
>and
> % apaly -Dmyspdif 22500hz.wav
Thanks for the workaround. Believe it or not, I used it first, but I thought
disabling dxs_support was the better workaround. Now that I know dxs_support
works I'll define pcm.fspdif (for functional SPDIF) in my /etc/asound.conf
until the bug is fixed.
By the way, congratulations on getting version 1 out the door. I'm glad ALSA
is now a standard Linux component. Your hard work has not gone unappreciated.
Thanks,
John
--
John GOTTS <jgotts@linuxsavvy.com> http://linuxsavvy.com/staff/jgotts
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-26 19:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-24 4:40 dxs_support detection or feature broken? John Gotts
2004-01-26 11:20 ` Takashi Iwai
2004-01-26 19:08 ` jgotts
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.