Re: [Alsa-devel] snd_pcm_start fails

2002-07-05 Thread Paul Davis
>* To [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: >> I am stumped. This short and simple program fails for me: > >Wingo solved the mystery for me. Apparently you are required to do an >mmap_begin and mmap_commit before you can call snd_pcm_start. or more generally: you have to put some data in

Re: [Alsa-devel] snd_pcm_start

2002-02-01 Thread Jan-Mark Batke
Paul Davis <[EMAIL PROTECTED]> writes: > >just writing a recording app with alsa lib i found i need > >to use > > > >snd_pcm_start(chandle); > > > >Why? What does it do? > > the hardware of audio interfaces doesn't activate all by itself - it > needs to be told to start processing i/o and gener

Re: [Alsa-devel] snd_pcm_start

2002-02-01 Thread Paul Davis
>just writing a recording app with alsa lib i found i need >to use > >snd_pcm_start(chandle); > >Why? What does it do? the hardware of audio interfaces doesn't activate all by itself - it needs to be told to start processing i/o and generating interrupts. when you open a handle on either the pl

[Alsa-devel] snd_pcm_start

2002-02-01 Thread Jan-Mark Batke
Hi alsa developers, just writing a recording app with alsa lib i found i need to use snd_pcm_start(chandle); Why? What does it do? Regards jmb -- .- Dipl.-Ing. Jan-Mark Batke -- TU Berlin·Secretary FT 5-1 . Phone: ++49 30 314-2 45 78 Fachgebiet Fernmeldetechnik Fax: ++49 30 31