snd_pcm_open fails
Hi,
I've got my header file installed now. I had to install two rpms
alsa-lib-1.0.4-12.rhfc1.at.i386.rpm
alsa-lib-devel-1.0.4-12.rhfc1.at.i386.rpm
on my default Fedora Core 1 install. I restarted and my cdplayer is still working so thats good. I can also do my compiles with <alsa/asoundlib.h> being found and -lasound being linked, so thats good too. Trouble is, now when I try to open the pcm devices with something like:
snd_pcm_open(..., "default", ...);
I'm getting a No such file or directory error. Same thing for "plughw" and "plughw:0,0". Anyone seen this before?
Thanks,
FM
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
Quoted 13 lines · Frank W. Miller
Hi,
I've got my header file installed now. I had to install two rpms
alsa-lib-1.0.4-12.rhfc1.at.i386.rpm
alsa-lib-devel-1.0.4-12.rhfc1.at.i386.rpmon my default Fedora Core 1 install. I restarted and my cdplayer is still working so thats good. I can also do my compiles with <
alsa/asoundlib.h> being found and -lasound being linked, so thats good too. Trouble is, now when I try to open the pcm devices with something like:
Quoted 4 lines
snd_pcm_open(..., "default", ...);I'm getting a No such file or directory error. Same thing for "plughw" and "plughw:0,0". Anyone seen this before?
Most likely missing ALSA device files (/dev/snd/*). There's a script somewhere to create them.
Signature · 10 lines
Måns Rullgård [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click