Re: [Alsa-devel] duplex devices in RAWMIDI

2001-10-18 Thread Paul Davis
>How do duplex RAWMIDI work? Are they capable of both input and output >functions? What is the point of having such a device when the input and >output could be opened separately? does it occur to you that perhaps they can't, for h/w related reasons? and anyway, which version of ALSA are you u

Re: [Alsa-devel] proper method for waiting on a capture device

2001-10-18 Thread Paul Davis
>Ok. Sorry to be so pedantic, it must be some small small error, but... > >1. what does snd_pcm_avail_update() do and what does its return value mean? it checks on the h/w pointer to discover how much data/space is actually available. it returns the space (in units of frames). if there has been

[Alsa-devel] duplex devices in RAWMIDI

2001-10-18 Thread Ricardo Colon
How do duplex RAWMIDI work? Are they capable of both input and output functions? What is the point of having such a device when the input and output could be opened separately? I'm trying to implement a library to run on top of ALSA which is only designed to support one-way devices... a duplex

Re: [Alsa-devel] proper method for waiting on a capture device

2001-10-18 Thread Andy Wingo
On Wed, 17 Oct 2001, Paul Davis wrote: > >I just came to a pseudo-epiphany, but I can't test it atm. Do I poll > >on the fd , but set pfd.events = POLLIN | POLLERR? > > there now, that wasn't too hard, was it? :)) Ok. Sorry to be so pedantic, it must be some small small error, but... 1. what