* delta-66 bug?
@ 2003-03-10 22:42 ian
2003-03-10 22:49 ` Jan "Evil Twin" Depner
0 siblings, 1 reply; 6+ messages in thread
From: ian @ 2003-03-10 22:42 UTC (permalink / raw)
To: alsa-devel
hi all,
i've been having sample rate problems with my m-audio delta 66. using
envy24control, i have it set up so that the master clock comes from spdif
(which is always 48K). the spdif is routed to hardware out 3 and 4. using
xmms with the oss output plugin, i'm playing a cd through pcm channels
1&2, which are routed to hardware outs 1&2.
playing audio through spdif is fine, until i try to play using xmms too.
when i do that, the hardware outs 3&4 (where spdif is routed to) get
distorted.
xmms is requesting a sample rate of 44.1K when opening the device, and is
getting it, even though the master clock shuold be locked to spdif (rate
state has the locked option on). isn't the oss layer supposed to be
resampling the pcm input to 48K?
i'm using redhat 7.3, with alsa rc6, and a low latency & rtc patched
2.4.19 kernel.
thanks,
ian
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: delta-66 bug?
2003-03-10 22:42 delta-66 bug? ian
@ 2003-03-10 22:49 ` Jan "Evil Twin" Depner
2003-03-11 0:11 ` ian
0 siblings, 1 reply; 6+ messages in thread
From: Jan "Evil Twin" Depner @ 2003-03-10 22:49 UTC (permalink / raw)
To: ian; +Cc: alsa-devel
Ian,
I won't even attempt to figure out what you're doing but I wanted to
point out that ALSA 0.9rc6 had major problems setting master clock for
the envy24 chipset. Try moving up to rc7 or rc8 and see if it gets
better.
Jan
On Mon, 2003-03-10 at 16:42, ian wrote:
> hi all,
> i've been having sample rate problems with my m-audio delta 66. using
> envy24control, i have it set up so that the master clock comes from spdif
> (which is always 48K). the spdif is routed to hardware out 3 and 4. using
> xmms with the oss output plugin, i'm playing a cd through pcm channels
> 1&2, which are routed to hardware outs 1&2.
> playing audio through spdif is fine, until i try to play using xmms too.
> when i do that, the hardware outs 3&4 (where spdif is routed to) get
> distorted.
> xmms is requesting a sample rate of 44.1K when opening the device, and is
> getting it, even though the master clock shuold be locked to spdif (rate
> state has the locked option on). isn't the oss layer supposed to be
> resampling the pcm input to 48K?
> i'm using redhat 7.3, with alsa rc6, and a low latency & rtc patched
> 2.4.19 kernel.
> thanks,
> ian
>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: delta-66 bug?
2003-03-11 0:11 ` ian
@ 2003-03-11 0:07 ` Jan "Evil Twin" Depner
2003-03-11 10:17 ` Takashi Iwai
1 sibling, 0 replies; 6+ messages in thread
From: Jan "Evil Twin" Depner @ 2003-03-11 0:07 UTC (permalink / raw)
To: ian; +Cc: alsa-devel
It makes sense when you read - "i.e. tries to convert the sample format,
rate or channels automatically when the card doesn't support it
natively". OTOH, the envy24 chipset *does* support 44.1KHz natively so
maybe it's just confused. I really don't know much about this, it's
just that I had all kinds of problems with envy24 and ALSA 0.9rc6. One
thing that I have read (and it sounds reasonable) is that if you're
going to go to 44.1KHz in the end you're probably better off recording
at that rate since resampling from 48KHz to 44.1KHz won't sound as
good. If you come up with an answer let me know.
Jan
On Mon, 2003-03-10 at 18:11, ian wrote:
> ah, thank you!
> i updated to the latest non-cvs packages. things have got a bit better!
> now if i set the clock to spdif, it stays locked to spdif. so the delta-66
> driver is doing it's job. but now if i use xmms to play a stream through
> pcm, the playback is too fast. (spdif sets the card to 48kHz, and xmms is
> trying to open the pcm device at 44.1kHz). so it would seem there is a
> problem with the oss layer - namely that it is not resampling the stream
> from 44.1kHz to 48kHz.
> or am i not reading the info on this page right?
> http://www.alsa-project.org/~iwai/OSS-Emulation.html
> thanks again!
> ian
>
>
> On 10 Mar 2003, Jan "Evil Twin" Depner wrote:
>
> > Ian,
> >
> > I won't even attempt to figure out what you're doing but I wanted to
> > point out that ALSA 0.9rc6 had major problems setting master clock for
> > the envy24 chipset. Try moving up to rc7 or rc8 and see if it gets
> > better.
> >
> > Jan
> >
> > On Mon, 2003-03-10 at 16:42, ian wrote:
> > > hi all,
> > > i've been having sample rate problems with my m-audio delta 66. using
> > > envy24control, i have it set up so that the master clock comes from spdif
> > > (which is always 48K). the spdif is routed to hardware out 3 and 4. using
> > > xmms with the oss output plugin, i'm playing a cd through pcm channels
> > > 1&2, which are routed to hardware outs 1&2.
> > > playing audio through spdif is fine, until i try to play using xmms too.
> > > when i do that, the hardware outs 3&4 (where spdif is routed to) get
> > > distorted.
> > > xmms is requesting a sample rate of 44.1K when opening the device, and is
> > > getting it, even though the master clock shuold be locked to spdif (rate
> > > state has the locked option on). isn't the oss layer supposed to be
> > > resampling the pcm input to 48K?
> > > i'm using redhat 7.3, with alsa rc6, and a low latency & rtc patched
> > > 2.4.19 kernel.
> > > thanks,
> > > ian
> > >
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > Alsa-devel mailing list
> > > Alsa-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/alsa-devel
> >
> >
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: delta-66 bug?
2003-03-10 22:49 ` Jan "Evil Twin" Depner
@ 2003-03-11 0:11 ` ian
2003-03-11 0:07 ` Jan "Evil Twin" Depner
2003-03-11 10:17 ` Takashi Iwai
0 siblings, 2 replies; 6+ messages in thread
From: ian @ 2003-03-11 0:11 UTC (permalink / raw)
To: alsa-devel
ah, thank you!
i updated to the latest non-cvs packages. things have got a bit better!
now if i set the clock to spdif, it stays locked to spdif. so the delta-66
driver is doing it's job. but now if i use xmms to play a stream through
pcm, the playback is too fast. (spdif sets the card to 48kHz, and xmms is
trying to open the pcm device at 44.1kHz). so it would seem there is a
problem with the oss layer - namely that it is not resampling the stream
from 44.1kHz to 48kHz.
or am i not reading the info on this page right?
http://www.alsa-project.org/~iwai/OSS-Emulation.html
thanks again!
ian
On 10 Mar 2003, Jan "Evil Twin" Depner wrote:
> Ian,
>
> I won't even attempt to figure out what you're doing but I wanted to
> point out that ALSA 0.9rc6 had major problems setting master clock for
> the envy24 chipset. Try moving up to rc7 or rc8 and see if it gets
> better.
>
> Jan
>
> On Mon, 2003-03-10 at 16:42, ian wrote:
> > hi all,
> > i've been having sample rate problems with my m-audio delta 66. using
> > envy24control, i have it set up so that the master clock comes from spdif
> > (which is always 48K). the spdif is routed to hardware out 3 and 4. using
> > xmms with the oss output plugin, i'm playing a cd through pcm channels
> > 1&2, which are routed to hardware outs 1&2.
> > playing audio through spdif is fine, until i try to play using xmms too.
> > when i do that, the hardware outs 3&4 (where spdif is routed to) get
> > distorted.
> > xmms is requesting a sample rate of 44.1K when opening the device, and is
> > getting it, even though the master clock shuold be locked to spdif (rate
> > state has the locked option on). isn't the oss layer supposed to be
> > resampling the pcm input to 48K?
> > i'm using redhat 7.3, with alsa rc6, and a low latency & rtc patched
> > 2.4.19 kernel.
> > thanks,
> > ian
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/alsa-devel
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: delta-66 bug?
2003-03-11 0:11 ` ian
2003-03-11 0:07 ` Jan "Evil Twin" Depner
@ 2003-03-11 10:17 ` Takashi Iwai
2003-03-11 17:42 ` Jaroslav Kysela
1 sibling, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2003-03-11 10:17 UTC (permalink / raw)
To: ian; +Cc: alsa-devel
At Tue, 11 Mar 2003 00:11:43 +0000 (GMT),
ian wrote:
>
> ah, thank you!
> i updated to the latest non-cvs packages. things have got a bit better!
> now if i set the clock to spdif, it stays locked to spdif. so the delta-66
> driver is doing it's job. but now if i use xmms to play a stream through
> pcm, the playback is too fast. (spdif sets the card to 48kHz, and xmms is
> trying to open the pcm device at 44.1kHz). so it would seem there is a
> problem with the oss layer - namely that it is not resampling the stream
> from 44.1kHz to 48kHz.
the driver doesn't check how is the current spdif input rate, and it
doesn't restrict the possible sample rates for the later open.
the implementation of clock sync with an external source is still an
open question. for example, when the external clock is changed, how
the driver should handle it...?
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: delta-66 bug?
2003-03-11 10:17 ` Takashi Iwai
@ 2003-03-11 17:42 ` Jaroslav Kysela
0 siblings, 0 replies; 6+ messages in thread
From: Jaroslav Kysela @ 2003-03-11 17:42 UTC (permalink / raw)
To: Takashi Iwai; +Cc: ian, alsa-devel@lists.sourceforge.net
On Tue, 11 Mar 2003, Takashi Iwai wrote:
> At Tue, 11 Mar 2003 00:11:43 +0000 (GMT),
> ian wrote:
> >
> > ah, thank you!
> > i updated to the latest non-cvs packages. things have got a bit better!
> > now if i set the clock to spdif, it stays locked to spdif. so the delta-66
> > driver is doing it's job. but now if i use xmms to play a stream through
> > pcm, the playback is too fast. (spdif sets the card to 48kHz, and xmms is
> > trying to open the pcm device at 44.1kHz). so it would seem there is a
> > problem with the oss layer - namely that it is not resampling the stream
> > from 44.1kHz to 48kHz.
>
> the driver doesn't check how is the current spdif input rate, and it
> doesn't restrict the possible sample rates for the later open.
>
> the implementation of clock sync with an external source is still an
> open question. for example, when the external clock is changed, how
> the driver should handle it...?
It should return an error ASAP.
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-03-11 17:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-10 22:42 delta-66 bug? ian
2003-03-10 22:49 ` Jan "Evil Twin" Depner
2003-03-11 0:11 ` ian
2003-03-11 0:07 ` Jan "Evil Twin" Depner
2003-03-11 10:17 ` Takashi Iwai
2003-03-11 17:42 ` Jaroslav Kysela
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.