On 26 Jun 2003 08:44:18 +0200
Ronald Bultje <[EMAIL PROTECTED]> wrote:

> Maybe, I'm not 100% sure what portaudio does.

It's a portable alternative to coding specifically for OSS, ALSA etc.
It uses a callback function rather than the poll/select of OSS.
http://www.portaudio.com

> The most important
> thing is to make sure that a hang for a while (bad sync signal or
> so) on the video-side doesn't kill the audio.

This is why I thought the portaudio approach might be good. The sound
driver determines when the callback is called so it's not dependant on
the app polling. Unfortunately what little I know about audio programming
I learnt from reading the OSS and portaudio docs and that's not enough
for me to understand lavrec sufficiently to determine if the approach
would be valid in that case.

> Anyway, my current new lavrec code handles some cool things already,
> but I didn't implement MJPEG hw recording yet. That's a matter of
> days, but I won't throw the code online before that's implemented.
> After that, you're free to give it a try and see if it improves
> performance for you people.

I look forward to giving it a go.

Martin


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to