Re: [Alsa-devel] libasound dies on snd_pcm_open

2003-02-14 Thread M. Ritscher
On Thursday 13 February 2003 22:00, Jaroslav Kysela wrote: > are you using the alsa-lib from CVS? Thanks Jaroslav, that fixed the problem. At least the one with the library. Now I can start debugging my own code... Cheers, Meinhard --- This

Re: [Alsa-devel] libasound dies on snd_pcm_open

2003-02-13 Thread mr203010spam
Hi Jaroslav, > Before we start any debugging - are you using the alsa-lib from CVS? I've > fixed some problems which may relate to your report a few days ago. > No, I'm using 0.9rc7. Seems I have to make myself familiar with using the CVS version than. Cheer, Meinhard -- +++ GMX - Mail, Mess

Re: [Alsa-devel] libasound dies on snd_pcm_open

2003-02-13 Thread Jaroslav Kysela
On Thu, 13 Feb 2003, M. Ritscher wrote: > Hi again, > > seems I was following a red herring. My debugger mislead me. > The function 'snd_pcm_open()' isn't the culprit, it really dies here: Before we start any debugging - are you using the alsa-lib from CVS? I've fixed some problems which may re

Re: [Alsa-devel] libasound dies on snd_pcm_open

2003-02-13 Thread M. Ritscher
Hi again, seems I was following a red herring. My debugger mislead me. The function 'snd_pcm_open()' isn't the culprit, it really dies here: == int rc = 0; int exactRate = snd_pcm_hw_params_set_rate_near (capture_handle, hw_params, &uSampleRate, &rc); if(rc

Re: [Alsa-devel] libasound dies on snd_pcm_open

2003-02-12 Thread M. Ritscher
On Wednesday 12 February 2003 19:18, Takashi Iwai wrote: > > if ((err = snd_pcm_open(&capture_hd, > > "hwplug:0,0", SND_PCM_STREAM_CAPTURE, 0)) < 0) { > ^^ > > is this correct? not "plughw:0,0" ? Well, sorry, "plughw:0,0" of course. Doesn't change anything though. Meinha

Re: [Alsa-devel] libasound dies on snd_pcm_open

2003-02-12 Thread Takashi Iwai
At Wed, 12 Feb 2003 18:48:12 +0100, M. Ritscher <[EMAIL PROTECTED]> 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 debu

Re: [Alsa-devel] libasound dies on snd_pcm_open

2003-02-12 Thread M. Ritscher
-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

[Alsa-devel] libasound dies on snd_pcm_open

2003-02-11 Thread M. Ritscher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! Hope, this isn't a too stupid question... I've got a problem whilst trying to port my application to the ALSA API. Following piece of code gives me an error when executed: - -- if ((rc = snd_pcm_open (&capture_handle, sDevice.ascii(),