🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #1264

Re: Skipping when recording

#1264
From: Michael Warner
Date: Thu, 19 Apr 2001 16:34
21 lines
1831 bytes
On Thu, 19 Apr 2001 18:00:31 +0200, Mike <ppagee@yahoo.com> wrote:

>waveInPrepareHeader (1)
>waveInPrepareHeader (2)
>waveInAddBuffer (1)
>waveInAddBuffer (2)
>waveInStart

You got it!

>OK, how can i now know which buffer is full?

Without looking it up, I'm sure all the notification mechanisms
(message, callback etc) enable you to find out - you may need to fill
in a header "tag" of some kind. But you don't really need to know,
because the buffers always fill alternately, beginning with #1.

> And what do next?

Fetch the data from the filled buffer and re-queue it immediately. In
the meantime the other buffer is starting to fill.
Technical Details
Message-ID: <sk4udt8iu6ufidfgu4a1vik1pbe125pf0e@4ax.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3ADAB0C3.35E942DC@yahoo.com> <he2mdtodna9edmhljtq94rjb32ud7mddvt@4ax.com> <3ADC3AD3.B5DCE970@yahoo.com> <b1rodto3f5nq4hn1rb4l43b4ns0onrgfir@4ax.com> <3ADCA2A7.5D937B0D@yahoo.com> <rmcqdtsk8k8tkkn1qnup4mre4qpp2setmk@4ax.com> <3ADF0B9F.DC9E7384@yahoo.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,8f6cee593340e8a4
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2001-04-19 09:46:03 PST
From: Michael Warner <mvw@ozemail.com.au>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Re: Skipping when recording
Date: Fri, 20 Apr 2001 02:04:09 +0930
Organization: Warner Solutions
Reply-To: mvw@ozemail.com.au
Message-ID: <sk4udt8iu6ufidfgu4a1vik1pbe125pf0e@4ax.com>
References: <3ADAB0C3.35E942DC@yahoo.com> <he2mdtodna9edmhljtq94rjb32ud7mddvt@4ax.com> <3ADC3AD3.B5DCE970@yahoo.com> <b1rodto3f5nq4hn1rb4l43b4ns0onrgfir@4ax.com> <3ADCA2A7.5D937B0D@yahoo.com> <rmcqdtsk8k8tkkn1qnup4mre4qpp2setmk@4ax.com> <3ADF0B9F.DC9E7384@yahoo.com>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 202.7.186.5
X-Trace: dnews 987697956 202.7.186.5 (19 Apr 2001 09:32:36 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!supernews.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews