View previous topic :: View next topic |
Author |
Message |
r_wolf33 Guest
|
Posted: Thu Dec 15, 2005 9:04 am Post subject: ices2 error |
|
|
hi, i'm trying to stream from spdif on via8237 using alsa. When i start it whith: isec2 /etc/ices-alsa.xml there's an error arising:
EROR input/input_loop Couldn't initialise input module "alsa"
<input>
<module>alsa</module>
<param name="rate">44100</param>
<param name="channels">2</param>
<param name="device">hw:0,0</param>
<!-- Read metadata (from stdin by default, or -->
<!-- filename defined below (if the latter, only on SIGUSR1) -->
<param name="metadata">0</param>
<param name="metadatafilename">test</param>
</input>
Any ideas? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Dec 15, 2005 1:54 pm Post subject: |
|
|
If that is the only message that gets logged then it's probably because alsa has not been compiled in.
karl. |
|
Back to top |
|
|
r_wolf33 Guest
|
Posted: Fri Dec 16, 2005 1:09 pm Post subject: |
|
|
after recompile:
[2005-12-16 18:06:41] INFO ices-core/main IceS 2.0.1 started...
[2005-12-16 18:06:41] INFO input-alsa/alsa_open_module Opened audio device hw:0,0
[2005-12-16 18:06:41] INFO input-alsa/alsa_open_module using 2 channel(s), 48000 Hz, buffer 341 ms
[2005-12-16 18:06:41] INFO signals/signal_usr1_handler Metadata update requested
[2005-12-16 18:06:41] INFO audio/resample_initialise Initialised resampler for 2 channels, from 48000 Hz to
44100 Hz
[2005-12-16 18:06:41] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channel(s), 44100 H
z, quality 3.000000
[2005-12-16 18:06:41] INFO stream/ices_instance_stream Connected to server: 192.168.2.32:8000/euro128.ogg
[2005-12-16 18:06:51] EROR input-alsa/alsa_read snd_pcm_readi failed: Input/output error
[2005-12-16 18:06:51] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
[2005-12-16 18:06:51] DBUG encode/encode_clear Clearing encoder engine
[2005-12-16 18:06:51] DBUG input/input_loop An instance died, removing it
[2005-12-16 18:06:51] DBUG input/input_flush_queue Input queue flush requested
[2005-12-16 18:06:51] INFO input/input_loop All instances removed, shutting down...
[2005-12-16 18:06:52] INFO ices-core/main Shutdown complete |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Dec 16, 2005 3:33 pm Post subject: |
|
|
it's unsual to get a snd_pcm_readi failure, does arecord work using the same settings ie arecord -f cd sample.wav (ctrl-C to finish)
karl |
|
Back to top |
|
|
|