From: Jan Willies <jan@willies.info>
To: Takashi Iwai <tiwai@suse.de>
Cc: dxr3-devel@lists.sourceforge.net, alsa-devel@alsa-project.org
Subject: Re: em8300 and ALSA problems
Date: Mon, 04 Feb 2008 17:02:01 +0100 [thread overview]
Message-ID: <47A736F9.9010507@willies.info> (raw)
In-Reply-To: <s5hzlug1zyi.wl%tiwai@suse.de>
Takashi Iwai wrote:
> At Mon, 04 Feb 2008 16:46:44 +0100,
> Jan Willies wrote:
>> Takashi Iwai wrote:
>>> At Mon, 04 Feb 2008 16:32:29 +0100,
>>> Jan Willies wrote:
>>>> [root@server ~]# alsaplayer --verbose -o alsa -d hw:1,0 Strong.mp3
>>>> AlsaPlayer 0.99.80
>>>> (C) 1999-2004 Andy Lo A Foe <andy@alsaplayer.org> and others.
>>>> Output plugin: ALSA output v1.9.0beta12
>>>> error on set_format SND_PCM_FORMAT_S16
>>>> Unavailable hw params:
>>>> ACCESS: RW_INTERLEAVED
>>>> FORMAT: S16_BE
>>> The device is supposed to be big-endian only. Try plughw:1,0
>>> instead to convert endianness.
>> Yes, that seems to work! Only for analog output though. When I try with digital I get the same error again.
>>
>> [jan@server ~]$ cat /proc/asound/devices
>> 0: [ 0] : control
>> 1: : sequencer
>> 16: [ 0- 0]: digital audio playback
>> 24: [ 0- 0]: digital audio capture
>> 25: [ 0- 1]: digital audio capture
>> 32: [ 1] : control
>> 33: : timer
>> 48: [ 1- 0]: digital audio playback
>> 49: [ 1- 1]: digital audio playback
>>
>> [root@server ~]# alsaplayer --verbose -o alsa -d plughw:1,1 Strong.mp3
>> AlsaPlayer 0.99.80
>> (C) 1999-2004 Andy Lo A Foe <andy@alsaplayer.org> and others.
>> Output plugin: ALSA output v1.9.0beta12
>> error on set_format SND_PCM_FORMAT_S16
>> Unavailable hw params:
>> ACCESS: RW_INTERLEAVED
>> FORMAT: IEC958_SUBFRAME_BE
>> [...]
>
> The plug plugin doesn't handle the automatic conversion of
> IEC958-subframe formats. You'll likely need to create a PCM
> configuration to use iec958 plugin properly (better as a card-specific
> config stored in /usr/share/alsa/cards). Some config files there
> already use iec958 plugin, such as ATIIXP-SPDMA.conf.
There is already a /usr/share/alsa/cards/EM8300.conf with EM8300.pcm.iec958.0 {...} (http://pastebin.ca/raw/891351) from Ville Skyttä but I don't know how to use it. Neither how to create a PCM configuration for the iec958 plugin. I guess I'll wait for some dxr3 devs to join the party :-)
Thanks for your help.
- Jan
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2008-02-04 16:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 15:32 em8300 and ALSA problems Jan Willies
2008-02-04 15:39 ` Takashi Iwai
2008-02-04 15:46 ` [alsa-devel] " Jan Willies
2008-02-04 15:52 ` Takashi Iwai
2008-02-04 16:02 ` Jan Willies [this message]
2008-02-08 0:27 ` [alsa-devel] " Nicolas Boullis
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=47A736F9.9010507@willies.info \
--to=jan@willies.info \
--cc=alsa-devel@alsa-project.org \
--cc=dxr3-devel@lists.sourceforge.net \
--cc=tiwai@suse.de \
/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