Hi Derek,

On Sat, 2004-09-04 at 05:38, Derek Fountain wrote:
> <A bit later...> In fact, the problem seems to be with glav. I reset the sound 
> system and recorded several clips, one after the other with no resets. I then 
> play them back using glav and they're all perfect. I record one more and it 
> comes out with crackles. I reset the sound system and play it again - it 
> still crackles.

Might be. Scientifically, I'm not completely convinced yet on what the
problem is: 1. you record several times, 2. you play back several times
(all fine so far), 3. you record one more and 4. you play back
(crackles), restart (normally solves) and it still crackles. Now try
playing one of your videos from step 1-2 and see if it doesn't crackle,
and *then* I'm convinced that 2. is breaking 3. ;).

That doesn't, however, tell me that 2. is an actual problem. I know that
glav/lavplay do some weird stuff. We use mmap() for playback because
it's an efficient way of using hardware memory. Most applications simply
use write(). Maybe your particular driver cannot handle that. In that
case, file a bug report at the ALSA team to fix it
(http://alsa-project.org/). We cannot fix their bugs and we shouldn't
work around them, imo.

Ronald

-- 
Ronald S. Bultje <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to