0

Hifiberry digi i/o DarkIce: AlsaDspSource.cpp:265: Input/output error [0]

Hello,
I have this error message 
after setting up my hifiberry digi+ i/o board with darkice and a PI3:


Using config file: /etc/darkice.cfg
Using ALSA DSP input device: plughw:0,0
Using POSIX real-time scheduling, priority 4
Using aacplus codec
DarkIce: AlsaDspSource.cpp:265: Input/output error [0]
what does it mean?

How to solve the problem ?
I followed this configuration 
for the install of the hifiberry board:

sudo nano /boot/config.txt

dtoverlay = hifiberry-digi

# Enable audio (loads snd_bcm2835)
dtoverlay=hifiberry-digi

after restart, i have : 

**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: sndrpihifiberry [snd_rpi_hifiberry_digi], périphérique 0: HifiBerry Digi HiFi wm8804-spdif-0 []
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0

sudo nano /etc/asound.conf

pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}


My config with darkice is : 

# this section describes general aspects of the live streaming session
[general]
duration = 0 # 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 = /dev/dsp # OSS DSP soundcard device for the audio input
device = plughw: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 a ShoutCast server
# there may be up to 8 of these sections, named [shoutcast-0] ... [shoutcast-7]
# these can be mixed with [icecast-x] and [icecast2-x] sections
[shoutcast-0]
bitrateMode = vbr # average bit rate
format = mp3 # format of the stream: ogg vorbis
bitrate = 88 # bitrate of the stream sent to the server
quality = 0.5 # encoding quality
server = myip
# host name of the server
port = myport # source port of the ShoutCast server, usually 8001
password = mypass # source password to the ShoutCast server
name =  test darkice
# name of the stream
url = http://www.yourserver.com
# URL related to the stream
genre = my own # genre of the stream
public = no # advertise this stream?
irc = irc.yourserver.com
# IRC info related to the stream
aim = aim here # AIM info related to the stream
icq = I see you too
# ICQ info related to the stream

Thanks for your answer

best regards

Ben






 

 

 

7 comments

Please sign in to leave a comment.