Hi,
I try to build a streaming device with mij raspberry pi and wolfson audio card using darkice.
First i have installed the 2014-01-07-wheezy-raspbianW.zip image in the way
Leigh Davies had adviced. The next step i have installed darkice: Live mp3 streaming from audio-in with DarkIce and Icecast2 on Raspberry Pi
If i try to start darkice -c /etc/darkice.cfg i get the message after about 5 seconds: AlsaDspSource.cpp:265: Input/output error [0]
darkice.cfg:
# sample DarkIce configuration file, edit for your needs before using
# see the darkice.cfg man page for details
# this section describes general aspects of the live streaming session
[general]
duration = 60 # duration of encoding, in seconds. 0 means forever
bufferSecs = 5 # size of internal slip buffer, in seconds
reconnect = yes # reconnect to the server(s) if disconnected
# this section describes the audio input that will be streamed
[input]
device = hw:0,0 # OSS DSP soundcard device for the audio input
sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample = 16 # bits per sample. try 16
channel = 2 # channels. 1 = mono, 2 = stereo
# this section describes a streaming connection to an IceCast2 server
# there may be up to 8 of these sections, named [icecast2-0] ... [icecast2-7]
# these can be mixed with [icecast-x] and [shoutcast-x] sections
[icecast2-0]
bitrateMode = abr # average bit rate
format = vorbis # format of the stream: ogg vorbis
bitrate = 96 # bitrate of the stream sent to the server
server = www.double-u.nl # host name of the server
port = 8000 # port of the IceCast2 server, usually 8000
password = ******* # source password to the IceCast2 server
mountPoint = sample96 # mount point of this stream on the IceCast2 server
name = DarkIce trial # name of the stream
description = This is only a trial # description of the stream
url = http://www.yourserver.com # URL related to the stream
genre = my own # genre of the stream
Kind regardz, Wessel Overdijk