At Thu, 16 Oct 2003 14:13:28 +0200,
G╴nther Montag wrote:
>
> hello friends
> when I start my ham program with this preload
> it says
> ***
> hfkernel_user will be started by /usr/local/bin/hfkernel start
> hfkernel[235]: hfkernel 0.4.1 starting...
> ALSA lib pcm.c:1809:(snd_pcm_open_noupdate) Unknown PCM dsp0
> hfkernel[235]: error: open: No such file or directory
> ***
> although I called the soundcard right with /dev/dsp0,
> the device is there (cat file > /dev/dsp0 gives a sound),
> the same with /dev/adsp
> somewhere (where?) on the way it seems to eat the /dev!
when you use OSS-wrapper library, the access to /dev/dsp* or
/dev/adsp* will be coverted to the ALSA API. that is, these files are
never accessed in practice.
the message above shows that you don't have the definition of dsp0 in
~/.asoundrc. simply add
pcm.dsp0 pcm.default
to ~/.asoundrc.
btw, it won't be a problem on cvs version, i fixed yesterday use the
default pcm as fallback.
>
> Another question:
> I looked into the file alsa-lib-0.9.7/src/pcm/pcm.c, where this#
> function snd_pcm_open_noupdate is,
> thanjs Jaroslav for the very interesting documentation,
> You made my day,
> but if You have time tell me: it looks like html,
> how can I read it as html?
you can generate the document via doxygen.
the already formatted html is found at
http://www.alsa-project.org/alsa-doc/alsa-lib
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel