From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: env LD_PRELOAD=/usr/lib/libaoss.so .... Date: Thu, 16 Oct 2003 15:10:06 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200310161413.28379.Safari.Doktor@addcom.de> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=BIG5 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <200310161413.28379.Safari.Doktor@addcom.de> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: =?ISO-8859-15?Q?G=FCnther?= Montag Cc: "alsa-devel@lists.sourceforge.net" , hfterm-hackers@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 16 Oct 2003 14:13:28 +0200, GˇZnther 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