Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
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: Mon, 01 Sep 2003 18:39:07 +0200	[thread overview]
Message-ID: <s5hbru4o444.wl@alsa2.suse.de> (raw)
In-Reply-To: <3F536C97.5080008@icem.com>

At Mon, 01 Sep 2003 17:58:15 +0200,
Carsten Koch wrote:
> 
> Takashi Iwai wrote:
> ...
> >>The sound was playing too fast with mpg321.
> >>I was using
> >>    mpg321 -o alsa09  --audiodevice hw:0,1
> >>It seems like mpg321 was playing my 44.1kHz mp3 in 48kHz mode.
> > 
> > 
> > then try plughw:0,1.
> > alsa-lib will convert the sample rate automatically.
> 
> Unfortunately, the sound is playing too fast with plughw:0,1 as well.

please check /proc/asound/card1/pcm0p/sub0/hw_params during playback.
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.

> Also, I was wrong about alsaplayer playing it at the right speed.
> Maybe I had left alsaplayer's speed at ~90% when I last used it.
> I started it again now with a new mp3 file to load and it played
> that one (and all other 44kHz files I tried from then on) too fast
> (both with hw:0,1 and with plughw:0,1).
> 
> One more question: Is there a way to make hw:0,1 or plughw:0,1 the
> default? Many programs do not have a --audiodevice parameter or
> use the OSS emulation and I would of course still like to hear their
> sound.

you can overwrite the default pcm in ~/.asoundrc with '!' prefix.
for example,

	pcm.!default "hw:0,1"


for OSS emulation, try libaoss wrapper.  (hope it still runs :)


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  reply	other threads:[~2003-09-01 16:39 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 [this message]
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                     ` 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=s5hbru4o444.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox