-
-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Hello,
I run Darkice + Icecast on a Raspberry Pi zero with a usb soundcard+mic, to livestream audio on my local network and on the web. It is working great.
Recently I bought another soundcard, https://forum.raspiaudio.com/t/ultra-installation-guide/21 which connects to the Pi pins.
I can record audio with this card. However when I wish to use it as my source card in Darkice I have an error message:
$ darkice -c darkice.cfg
DarkIce 1.3 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it
under the terms of The GNU General Public License version 3 or
any later version.Using config file: darkice.cfg
Using ALSA DSP input device: plughw:1,0
Could not set POSIX real-time scheduling, this may cause recording skips.
Try to run darkice as the super-user.
DarkIce: AlsaDspSource.cpp:195: can't set hardware parameters [0]
I selected this card in raspi-config.
My darkice.cfg is:
[general]
duration = 0 # duration in s, 0 forever
bufferSecs = 1 # buffer, in seconds
reconnect = yes # reconnect if disconnected
[input]
device = plughw:1,0 # Soundcard device for the audio input
sampleRate = 44100 # sample rate 11025, 22050 or 44100
bitsPerSample = 16 # bits
channel = 2 # 2 = stereo
[icecast2-0]
bitrateMode = vbr # constant bit rate ('cbr' constant, 'abr' average)
quality = 0.6
format = vorbis # format. Choose 'vorbis' for OGG Vorbis
#bitrate = 320 # bitrate
server = localhost # or IP
port = 8000 # port for IceCast2 access
password = xxx # source password for the IceCast2 server
mountPoint = son.ogg # mount point on the IceCast2 server .mp3 or .ogg
name = xxx
public = no
description = xxx
url = https://xxx
What could be wrong?
Thank you.