[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] Implementing sound support for non-standard ha
Re: [Linphone-developers] Implementing sound support for non-standard hardware
Mon, 20 Dec 2004 12:02:32 +0100
Le Mardi 14 Décembre 2004 12:20, Daniel Kabs [ML] a écrit :
> On Thu, 9 Dec 2004 Simon Morlat <address@hidden> wrote:
> > Yes you can add a new SndCard implementation to handle your problem.
> > This interface is expected to change in 1.0.x .
I said that ??
This interface is NOT expected to change in 1.0.x...
> For the time being I adapted the hpuxsndcard.c to work with my devices
> that interface to the audio hardware.
> I have one question regarding reading from the soundcard because I
> don't know if I understand the concepts of your fifos correctly.
> The read filter function ms_oss_read_process() in msossread.c reads the
> data from the soundcard. To do so, it request a buffer by calling
> By using this call, one "promises" to fill the fifo with exactly
> f->gran bytes.
> But the following call to snd_card_read() may read less bytes.
No I don't think so. If I'm right, f->gran is set to be the same as the
minimum granularity returned by the SndCard.
> Isn't this a problem? And why is the return value of snd_card_read()
For the same reason, if it works well we will get what we expect, and if not
we have no way to recover and this is a bug !
> Daniel Kabs
> Linphone-developers mailing list
Re: [Linphone-developers] Implementing sound support for non-standard hardware, Daniel Kabs [ML], 2004/12/15