mtytel / cursynth

GNU ncurses terminal synthesizer
http://gnu.org/software/cursynth
GNU General Public License v3.0
447 stars 64 forks source link

Device or resource busy : Fedora 20 issue #15

Open IwoHerka opened 9 years ago

IwoHerka commented 9 years ago

Linux version: 3.11.10-301.fc20.x86_64, gcc 4.8.2 Distro: Fedora 20 XFCE Spin

Issue (when running): RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.

RtApiAlsa::probeDeviceOpen: pcm device (hw:0,0) won't open for output.

Anyone encountered similar problem? Also: latest releases on ftp://ftp.gnu.org/gnu/cursynth don't include cstdlib fix for rand() problem

ghost commented 9 years ago

I had the same issue and fixed it by using the patches to rtAudio.cpp recommended here: http://comments.gmane.org/gmane.comp.lang.chuck.user/166.

I also have a fork with the edit so you can pull it from there too.

It should work for you too assuming that pulseaudio is the problem, even though this is sort of a temporary fix.