| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Sun Nov 05, 2006 2:54 am Post subject: ices2, alsa = it drives me crazy |
|
|
I have a running icecast2 server and it works with a playlist and ices0. Now i try to getting ices2 work with amarok and the first of my two soundcards.
my ices2-alsa.conf
| Code: |
<module>alsa</module>
<param name="rate">44100</param>
<param name="channels">2</param>
<param name="device">plughw:1,0</param>
<param name="periods">2</param>
<param name="buffer-time">500</param>
<param name="metadata">1</param>
<param name="metadatafilename">/home/denny/amarok-meta.txt</param>
<!-- Stream instance.
|
Soundcards:
| Code: |
root@anjali:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SoundByLayout [SoundByLayout], device 0: Master []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: default [C-Media USB Headphone Set ], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
|
I want to play Amarok an hw,0:0 and let ices2 grabbing it. What is problem?
If i use, oss instead of alsa, i have similar problems. ices says, that /dev/dsp does not exist (also /dev/dsp1)
*arrrghh* |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Nov 05, 2006 4:41 am Post subject: |
|
|
Are you sure you have the correct devices, usually the device is named 'default' (assuming 'default' maps to the dmix plugin involving hw:0,0)
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Nov 05, 2006 9:53 am Post subject: |
|
|
| karlH wrote: |
Are you sure you have the correct devices, usually the device is named 'default' (assuming 'default' maps to the dmix plugin involving hw:0,0)
karl. |
i useing the default Ubuntu Edgy system, but i assume, that i don't use dmix:
| Code: |
cat /var/lib/alsa/asound.state
state.SoundByLayout {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Speakers Switch'
value true
}
control.2 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Headphone Switch'
value true
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Headphone Detect Autoswitch'
value true
}
control.4 {
comment.access read
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Headphone Detected'
value false
}
control.5 {
comment.access 'read write user'
comment.type INTEGER
comment.count 2
comment.range '0 - 255'
iface MIXER
name 'PCM Playback Volume'
value.0 255
value.1 255
}
}
state.default {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Mic Playback Switch'
value false
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 32'
iface MIXER
name 'Mic Playback Volume'
value 0
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Speaker Playback Switch'
value true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 151'
iface MIXER
name 'Speaker Playback Volume'
value.0 130
value.1 130
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Mic Capture Switch'
value true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 16'
iface MIXER
name 'Mic Capture Volume'
value 0
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Auto Gain Control'
value true
}
}
|
the root user does not have a ~.asoundrc.
So where i get the right information? Can you explain it more clearly?
cu denny |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Nov 05, 2006 10:07 am Post subject: Forgotten |
|
|
Ah, what i have forgotten, the error message:
| Code: |
[2006-11-05 11:06:41] INFO ices-core/main IceS 2.0.1 started...
[2006-11-05 11:06:41] EROR playlist-builtin/playlist_open_module No playlist type given, cannot initialise playlist module
[2006-11-05 11:06:41] EROR input/input_loop Couldn't initialise input module "playlist"
[2006-11-05 11:06:41] INFO ices-core/main Shutdown complete
|
Sorry, it was a long night  |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sun Nov 05, 2006 11:50 am Post subject: |
|
|
Ok, don't know why, but the config file is now working. It seems, that the configuration file had a problem.
Now i use: <param name="device">plughw:default</param>
So, now i want to play files with amarok and i need to know, how to grab with ices2 from the correct device. Sure, "default" is wrong.
Hm, i use the mac mini (PPC) and mixing etc. is all per software. The soundcard does not have a real mixer. ...
The other thing, which i find mysterious, if i play with ices0 my static playlist, the cpu is quite down, and i recode on the fly. With ices2, my CPU goes high. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Nov 05, 2006 5:27 pm Post subject: |
|
|
impossible to say why the cpu is high based on the information given, you could be using managed mode which uses more CPU.
karl. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group subRebel style by ktauber
|