Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ices2 - Problems with ALSA-Module

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Fri Jul 20, 2007 5:40 pm    Post subject: Ices2 - Problems with ALSA-Module Reply with quote

Hi

I always have the same error when starting Ices2:
Code:
[2007-07-20  19:14:46] EROR input/input_loop Couldn't initialise input module "alsa"


My Module-Part in the config file looks like this:

Code:
        <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">1</param>
            <param name="metadatafilename">/home/jonas/ices/metadata</param>
        </input>


and amidi -l gives me the following output:
Code:

Dir Device    Name
IO  hw:0,0    CA0106 MPU-401 (UART)


My Soundcard is "Soundblaster Audigy SE" running on Ubuntu 7.04

Can someone tell me what I'm doing wrong? Help would be very appreciated.
Thanks and greetings from Switzerland
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jul 20, 2007 7:12 pm    Post subject: Reply with quote

have you built ices with alsa support.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Fri Jul 20, 2007 7:36 pm    Post subject: Reply with quote

i didn't choose a specific option for alsa, i just compiled it as the most common programs with ./configure, make, make install.
was that the mistake?

thx
Back to top
Anonymous
Guest





PostPosted: Mon Jul 23, 2007 9:33 am    Post subject: Reply with quote

The problem is still present. Can someone help me please?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Jul 23, 2007 1:18 pm    Post subject: Reply with quote

you still haven't said whether alsa support is being compiled in, the configure stage determines if alsa is being found or not

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Mon Jul 23, 2007 4:38 pm    Post subject: Reply with quote

ok i see, that seems to be the problem.

here is a part of the output:

Code:

checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking whether byte ordering is bigendian... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no


i already have "alsa-base" and "alsa-utils" installed on my system. so I'm wondering whats missing.. I'm quite new to linux, so please be patient Wink
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Jul 23, 2007 10:56 pm    Post subject: Reply with quote

you'll have to check the packages for your distribution but it's probably something like alsa-devel or similar.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Tue Jul 24, 2007 10:37 am    Post subject: Reply with quote

yep, ive installed the alsa libs now. had a few problems with asoundlib2 after that, but i got rid of it.

ices works now with icecast2, but the output of the sound is like in slowmotion, its about 20% slower than the original.

does anyone know this problem? thanks
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jul 24, 2007 2:42 pm    Post subject: Reply with quote

maybe you have a 44.1k/48k samplerate mismatch somewhere. a possible example is that the samples are coming in at 48khz but you are encoding at 44.1khz.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Wed Jul 25, 2007 10:18 am    Post subject: Reply with quote

wonderful, it works well now. thank you!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients All times are GMT
Page 1 of 1

 
Jump to:  
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