From: Takashi Iwai <tiwai@suse.de>
To: Albert Jongkit Wong <awong@cs.washington.edu>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: ppc usb-audio problems
Date: Fri, 11 Oct 2002 13:50:24 +0200 [thread overview]
Message-ID: <s5hk7kpchz3.wl@alsa2.suse.de> (raw)
In-Reply-To: <20021010222040.I24345-100000@fiji.cs.washington.edu>
Hi,
At Thu, 10 Oct 2002 22:31:33 -0700 (PDT),
Albert Jongkit Wong wrote:
>
> > i don't think all of them are broken.
> > possibly this behavior might be influenced by the period size, etc.
> > can you check /proc/asound/card0/pcm0p/sub0/hw_params at each case and
> > compare them?
>
>
> xmms (oss)
...
> OSS format: S16_BE
^^^^^^
> xmms (alsa)
...
> format: S16_LE
^^^^^^
ah, perhaps xmms alsa plugin doesn't care the endianess.
if so, it's a bug of alsa output plugin.
>
> You'ore right, the period_size is different for each test. The xmms alsa
> plugin is not a power of 2 however. Is that problem?
>
> esd and mplayer still refuse to start.
>
> Esd failing to set any format giving this output:
>
> terran@Mittermeyer terran $ esd
> Audio device open for 44.1Khz, stereo, 16bit failed
> Trying 44.1Khz, 8bit stereo.
> Audio device open for 44.1Khz, stereo, 8bit failed
> Trying 48Khz, 16bit stereo.
> Audio device open for 48Khz, stereo,16bit failed
> Trying 22.05Khz, 8bit stereo.
> Audio device open for 22.05Khz, stereo, 8bit failed
> Trying 44.1Khz, 16bit mono.
> Audio device open for 44.1Khz, mono, 8bit failed
> Trying 22.05Khz, 8bit mono.
> Audio device open for 22.05Khz, mono, 8bit failed
> Trying 11.025Khz, 8bit stereo.
> Audio device open for 11.025Khz, stereo, 8bit failed
> Trying 11.025Khz, 8bit mono.
> Audio device open for 11.025Khz, mono, 8bit failed
> Trying 8.192Khz, 8bit mono.
> Audio device open for 8.192Khz, mono, 8bit failed
> Trying 8Khz, 8bit mono.
> Sound device inadequate for Esound. Fatal.
hmm, most likely the same reason.
esd requests big-endian formats (as native machine format), which are
not supported on usb devices.
try to use the pcm 'plughw:0,0' instead of 'hw:0,0'.
(well, iirc, there is a bug in esound alsa output. the command-line
option is never passed as the device...)
>
> And mplayer apparently couldn't initialize its alsa9 codec:
>
> ==========================================================================
> AO: [alsa9] 24000Hz 2ch Signed 16-bit (Big-Endian)
> alsa-init: testing and bugreports are welcome.
> alsa-init: requested format: 24000 Hz, 2 channels, Signed 16-bit
> (Big-Endian)
^^^^^^^^^^^^
> alsa-init: 1 soundcard found, using: hw:0,0
> alsa-init: unable to set format: Invalid argument
> couldn't open/init audio device -> no sound
> Audio: no sound!!!
ditto. you need to convert endianess. plughw:0,0 will do that.
ciao,
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2002-10-11 11:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-06 1:05 ppc usb-audio problems Albert Jongkit Wong
2002-10-07 11:20 ` Takashi Iwai
2002-10-09 1:09 ` Albert Jongkit Wong
2002-10-09 10:46 ` Takashi Iwai
2002-10-09 18:08 ` Albert Jongkit Wong
2002-10-10 11:44 ` Takashi Iwai
2002-10-11 5:31 ` Albert Jongkit Wong
2002-10-11 11:50 ` Takashi Iwai [this message]
2002-10-12 9:55 ` Albert Jongkit Wong
2002-10-14 22:57 ` Tom Prado
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=s5hk7kpchz3.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=awong@cs.washington.edu \
/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.