| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Tue Oct 16, 2007 12:05 pm Post subject: streaming help ... |
|
|
Hello
I have mandriva linux and i installed Icecast and ices (latest).
But i have in the server one audio card one radio fm card (radio_gemtek_pci) im using the fm card to archive the station (i make station backups) . The problem is what device should i chose when i wan to stream ? , if i put oss its say device is busy, if i put alsa no sound ...
Witch device should i set to ices.conf ?
thank you |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Oct 16, 2007 4:32 pm Post subject: |
|
|
If you want ices to capture from the fm card then you need to specify the device for that card in ices, try arecord -L for a list of alsa devices
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Oct 17, 2007 8:58 am Post subject: |
|
|
Hello
I already recording from soundcard line in
FMCARD line out -----> Soundcard Line IN is plugget with another program for backup its is working fine.I searched the gametek(FM) module but i can't see with arecord -L, i tryed alot of posiblilites .
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
}
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'
phoneline 'cards.pcm.phoneline'
default 'cards.pcm.default'
dmix 'cards.pcm.dmix'
dsnoop 'cards.pcm.dsnoop'
Thank you |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Oct 17, 2007 12:35 pm Post subject: |
|
|
These are really alsa questions, if 'default' does not refer to the device you want then you need to look in more detail at your alsa setup, dsnoop is the component of alsa that allows multiple apps to capture audio. As soon as you know which it is, you just place that in your ices2 alsa module setup.
karl. |
|
| Back to top |
|
 |
|