From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: libasound dies on snd_pcm_open Date: Wed, 12 Feb 2003 19:18:14 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200302112147.45539.mr203010spam@gmx.net> <200302121848.23717.mr203010spam@gmx.net> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <200302121848.23717.mr203010spam@gmx.net> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: "M. Ritscher" Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 12 Feb 2003 18:48:12 +0100, M. Ritscher wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi again, > > On Tuesday 11 February 2003 21:47, M. Ritscher wrote: > > Stopped due to shared library event. > > > I've now compiled a version of libasound with debug enabled and found out that > it dies on me on line 61 of dlmisc.c > Stopped due to shared library event. > > =========================== > void *snd_dlopen(const char *name, int mode) > { > > ###>>> return dlopen(name, mode); > } > ============================ > > name: "/usr/lib/libasound.so.2 (which correctly links to libasound.so.2.0.0) > mode: 2 > > I've played around with my code a bit and have tried to reduce it to a > minimum, still, no luck. > ============================================ > int KCorrView::openNewALSADev(){ > snd_pcm_t *capture_hd; > int err = 0; > > if ((err = snd_pcm_open(&capture_hd, > "hwplug:0,0", SND_PCM_STREAM_CAPTURE, 0)) < 0) { ^^^^^^ is this correct? not "plughw:0,0" ? Takashi ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com