In article <>,
Zygo Blaxell <[EMAIL PROTECTED]> wrote:
>In article <>,
>Britton  <[EMAIL PROTECTED]> wrote:
>>I have been trying to write a brec-like program that will record long
>>tracks of raw sound using many successive mmap()s of the same file, but it
>>isn't working.  I get stuff like this:

Come to think of it, if you _really_ want to do this, why don't you mmap()
the entire file and just read() into that?

Also, make sure that the file is already large enough to hold the data you
are writing; otherwise you'll get a segfault.

-- 
Zygo Blaxell, Linux Engineer, Corel Corporation, [EMAIL PROTECTED] (work),
[EMAIL PROTECTED] (play).  It's my opinion, I tell you! Mine! All MINE!
Size of 'diff -Nurw [...] winehq corel' as of Thu Feb 11 13:14:02 EST 1999
Lines/files:  In 489 / 13, Out 6383 / 76, Both 6869 / 88

Reply via email to