-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capture 2 usb analog inputs #151
Comments
If you really only changed the mountpoint between the config files, then this would mean your input is the same in both files. |
One has hwplug:1.0, the other has hwplug:2.0. |
For hwplug the separation of device and subdevice is comma, not dot. Please check if you just mistyped here in the comment or also in the config file. This aside, these two input definitions should not cause hw blocking and this should work. If that doesn't lead to a solution, you might also show us your complete config (redact any passwords and maybe hostnames) and your complete darkice command line and output |
config nr 1 [general] [icecast2-0]
|
could it be that the raspberry pi4 usb bus cant handle 2 usb cards? |
"can't set hardware parameters" is a weird error message here. If it would be reproducible all the time I'd say your sound card has some min/max limitations in channels and/or sample rate and you exceeded it. But I understood you that way that each command works when started alone. I'd lower the sample rate anyway and switch mono/stereo mode forth and back just for try and error. And you could try to rule out darkice as the culprit. Use two "arecord" processes and try to record from both devices at the same time. If that fails, too, then it's alsa and/or the raspi or your soundcards. |
Today i tried it an a rpi3+b , this was succesfull. |
we are back, i tried the exact same configs on a rpi4, both capture working perfect alone, but running bith capture on the same time , it doesnt work. seems that the issue is only present on a raspberry 4. |
I compiled darkice 1.4 with lame and alsa support. |
on the odroid -c2 the audio is distorted.... so also not a solution. |
hello Today i was succesfull of running 3 darkice capture towards icecast. I also installed qjackctl and run before each startup of darkice session an alsa_out -d hw:x (x = card number) command. Why it works, i have no idee. When starting the 4 darkice capture, it send me an error after 10 sec: DarkIce: AlsaDspSource.cpp:265: Input/output error [0] |
Hi
I am trying to capture 2 usb analog audio inputs via darkice and send them to icecast.
I have made 1 darkice config with [icecast2-0] setting, then i made a duplicate of that file and adjusted the mount name in the [icecast2-0] session.
When running each config file seperate, it seems to be working, if i run the both config files at the same time, i got and hardware error. Is there an example that i can base my config on?
Kurt
The text was updated successfully, but these errors were encountered: