Linux Sound subsystem development
 help / color / mirror / Atom feed
From: u81ib6r2@umail.furryterror.org (Zygo Blaxell)
To: linux-sound@vger.kernel.org
Subject: Re: successive mmap()s will not work to record sound?
Date: Thu, 11 Feb 1999 18:37:54 +0000	[thread overview]
Message-ID: <marc-linux-sound-91875895612073@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-91871041516692@msgid-missing>

In article <79v13d$1vp$1@naga.corel.eng>,
Zygo Blaxell <u81ib6r2@umail.furryterror.org> wrote:
>In article <Pine.OSF.3.96.990210195646.13922A-100000@aurora.alaska.edu>,
>Britton  <fsblk@aurora.alaska.edu> 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, zygob@corel.ca (work),
zblaxell@furryterror.org (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

      parent reply	other threads:[~1999-02-11 18:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-11  5:18 successive mmap()s will not work to record sound? Britton
1999-02-11 16:39 ` Zygo Blaxell
1999-02-11 18:37 ` Zygo Blaxell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-sound-91875895612073@msgid-missing \
    --to=u81ib6r2@umail.furryterror.org \
    --cc=linux-sound@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox