This is a multipart message in MIME format.
--=_alternative 00338BAFC125705A_=
Content-Type: text/plain; charset="us-ascii"
Hi all,
I've got a question for the ALSA users out there.
In my /opt/livesupport/etc/scheduler.xml file, when I try to specify the
following:
I get no sound, and the HTML UI displays nothing in the 'now playing'
field in the upper right part of the screen.
But when I change the settings to:
then everything works. Sound plays, and I get display in the 'now playing'
field.
Any ideas as to why the ALSA way isn't working, but the OSS way is?
doug
=============================================
Media Development Loan Fund
=============================================
Douglas Arellanes
Head of Research and Development
Center for Advanced Media--Prague (CAMP)
Na vinicnich horach 24a/1834, 160 00 Prague 6
Czech Republic
Tel: + 420 2 3333 5356, Fax: +420 2 2431 5419
Mobile: +420 724 073 364 http://www.mdlf-camp.net http://www.campware.org
============================================= http://www.mdlf.org
=============================================
--=_alternative 00338BAFC125705A_=
Content-Type: text/html; charset="us-ascii"
Hi all,
I've got a question for the ALSA users out there.
In my /opt/livesupport/etc/scheduler.xml file, when I try to specify the following:
<audioPlayer>
<gstreamerPlayer audioDevice = "plughw:0">
</audioPlayer>
I get no sound, and the HTML UI displays nothing in the 'now playing' field in the upper right part of the screen.
But when I change the settings to:
<audioPlayer>
<gstreamerPlayer audioDevice = "/dev/dsp">
</audioPlayer>
then everything works. Sound plays, and I get display in the 'now playing' field.
Any ideas as to why the ALSA way isn't working, but the OSS way is?
On Thu, 2005-08-11 at 11:23, Douglas.Arellanes@mdlf.org wrote:
> Hi all,
>
> I've got a question for the ALSA users out there.
>
> In my /opt/livesupport/etc/scheduler.xml file, when I try to specify
> the following:
>
>
>
>
>
> I get no sound, and the HTML UI displays nothing in the 'now playing'
> field in the upper right part of the screen.
>
> But when I change the settings to:
>
>
>
>
>
> then everything works. Sound plays, and I get display in the 'now
> playing' field.
>
> Any ideas as to why the ALSA way isn't working, but the OSS way is?
>
>
> doug
>
>
>
> =============================================
> Media Development Loan Fund
> =============================================
> Douglas Arellanes
> Head of Research and Development
> Center for Advanced Media--Prague (CAMP)
> Na vinicnich horach 24a/1834, 160 00 Prague 6
> Czech Republic
> Tel: + 420 2 3333 5356, Fax: +420 2 2431 5419
> Mobile: +420 724 073 364
> http://www.mdlf-camp.net
> http://www.campware.org
> =============================================
> http://www.mdlf.org
> =============================================
------------------------------------------
Posted to Phorum via PhorumMail
Here is the alsa configuration from 62.44.9.210. It's clearly wrong (it
only knows about one card). Any idea how to fix it? There is no
~/.asound or etc/asound.conf file installed now.
Ferenc
$ aplay -l -L
PCM list:
hw {
@args.0 CARD
@args.1 DEV
@args.2 SUBDEV
@args.CARD {
type string
default {
@func getenv
vars {
0 ALSA_PCM_CARD
1 ALSA_CARD
}
default {
@func refer
name 'defaults.pcm.card'
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars {
0 ALSA_PCM_DEVICE
}
default {
@func refer
name 'defaults.pcm.device'
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name 'defaults.pcm.subdevice'
}
}
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
plughw {
@args.0 CARD
@args.1 DEV
@args.2 SUBDEV
@args.CARD {
type string
default {
@func getenv
vars {
0 ALSA_PCM_CARD
1 ALSA_CARD
}
default {
@func refer
name 'defaults.pcm.card'
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars {
0 ALSA_PCM_DEVICE
}
default {
@func refer
name 'defaults.pcm.device'
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name 'defaults.pcm.subdevice'
}
}
type plug
slave.pcm {
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
}
plug {
@args.0 SLAVE
@args.SLAVE {
type string
}
type plug
slave.pcm $SLAVE
}
dmix {
@args.0 SLAVE
@args.1 FORMAT
@args.2 RATE
@args.SLAVE {
type string
default 'hw:0,0'
}
@args.FORMAT {
type string
default S16_LE
}
@args.RATE {
type integer
default 48000
}
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave {
pcm $SLAVE
format $FORMAT
rate $RATE
}
}
dsnoop {
@args.0 SLAVE
@args.1 FORMAT
@args.2 RATE
@args.SLAVE {
type string
default 'hw:0,0'
}
@args.FORMAT {
type string
default S16_LE
}
@args.RATE {
type integer
default 48000
}
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave {
pcm $SLAVE
format $FORMAT
rate $RATE
}
}
shm {
@args.0 SOCKET
@args.1 PCM
@args.SOCKET {
type string
}
@args.PCM {
type string
}
type shm
server $SOCKET
pcm $PCM
}
tee {
@args.0 SLAVE
@args.1 FILE
@args.2 FORMAT
@args.SLAVE {
type string
}
@args.FILE {
type string
}
@args.FORMAT {
type string
default raw
}
type file
slave.pcm $SLAVE
file $FILE
format $FORMAT
}
file {
@args.0 FILE
@args.1 FORMAT
@args.FILE {
type string
}
@args.FORMAT {
type string
default raw
}
type file
slave.pcm null
file $FILE
format $FORMAT
}
null {
type null
}
cards 'cards.pcm'
front 'cards.pcm.front'
rear 'cards.pcm.rear'
center_lfe 'cards.pcm.center_lfe'
side 'cards.pcm.side'
surround40 'cards.pcm.surround40'
surround41 'cards.pcm.surround41'
surround50 'cards.pcm.surround50'
surround51 'cards.pcm.surround51'
surround71 'cards.pcm.surround71'
iec958 'cards.pcm.iec958'
spdif 'cards.pcm.iec958'
modem 'cards.pcm.modem'
default 'cards.pcm.default'
**** List of PLAYBACK Hardware Devices ****
card 0: CA0106 [CA0106], device 0: ca0106 [CA0106]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 1: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 2: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CA0106 [CA0106], device 3: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
$
------------------------------------------
Posted to Phorum via PhorumMail
Check first your sound card's are supported with the ALSA Soundcard
Matrix, by choosing the manufacturer and read the card documentation for
the selected card.
On Fri, 2005-08-12 at 01:28, Sebastian Goebel wrote:
> Because this issue raised by some people, does somebody know how can we
> configure alsa to use more than one soundcard?
>
>
------------------------------------------
Posted to Phorum via PhorumMail
Sure, booth cards are supported by ALSA (I like old hardware).
On alsaconf i can choose which card will configured, but not booth at same
time, thats the only problem.
I have two devices running so it will be on yours. I don't use alsaconf,
add it by hand to my modprobe.conf. (old kernel users got module.conf)
Are there special settings for your card documented?
First do a test to add the first one and check you get audio out, check
changes on modprobe.conf. The same for the second one, check you get
audio out. Check what drivers (and yours audio) are loaded (maybe oss)
to reduce conflicts. If not do a modprobe (driver-name) and check/add
the first one again into your modprobe.conf, if its not there.
Check with aplay -l in between the steps (its displays your devices)
Check with aplay -L you get your alsaconfig settings. Mostly these are
set with alsa.conf or local settings (~/.asound or etc/asound.conf).
Do a ls -l /dev/snd/* for example to check the r+w. There are some
topics at the base on Alsa settings.
Please inform us of your improvements
Thanks,
Frans van Berckel
On Fri, 2005-08-12 at 13:28, Sebastian Goebel wrote:
> Sure, booth cards are supported by ALSA (I like old hardware).
> On alsaconf i can choose which card will configured, but not booth at same
> time, thats the only problem.
>
>
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Frans van Berckel [mailto:fberckel@xs4all.nl]
> > Gesendet: Freitag, 12. August 2005 07:51
> > An: livesupport dev list
> > Betreff: Re: AW: [livesupport-dev] A question for the ALSA-ists
> >
> >
> > Check first your sound card's are supported with the ALSA Soundcard
> > Matrix, by choosing the manufacturer and read the card documentation for
> > the selected card.
> >
> > http://www.alsa-project.org/alsa-doc/
> >
> > Frans van Berckel
> >
> > On Fri, 2005-08-12 at 01:28, Sebastian Goebel wrote:
> > > Because this issue raised by some people, does somebody know how can we
> > > configure alsa to use more than one soundcard?
> > >
> > >
>
>
------------------------------------------
Posted to Phorum via PhorumMail