🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Skipping when recording

#1258
From: Michael Warner
Date: Tue, 17 Apr 2001 16:21
15 lines
1811 bytes
On Tue, 17 Apr 2001 14:45:07 +0200, Mike <ppagee@yahoo.com> wrote:

>So, when message MMWimData comes I should with
>WaveRecordBegin(hwi, lpWaveHdrR2); (where is lpWaveHdrR2
>second buffer) start recording into second buffer. And when
>that buffer is filled start recording to first buffer.

No, buffer two should be queued _before_ the first buffer is returned
to you. If you look at my previous msg you'll see that the process is
begun by queueing both buffers.

Imagine that the incoming data is a stream of water flowing out of a
tap, and you have two buckets to transfer it. The way to catch all the
water is to always have a bucket ready below when the top one fills.
Try it in your kitchen sink with two cups to get the idea :-)
Technical Details
Message-ID: <b1rodto3f5nq4hn1rb4l43b4ns0onrgfir@4ax.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!feeds.vnews.net!ptdnetP!newsgate.ptd.net!news-xfer.siscom.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!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>

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-17 10:00:05 PST
From: Michael Warner <mvw@ozemail.com.au>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Re: Skipping when recording
Date: Wed, 18 Apr 2001 01:51:48 +0930
Organization: Warner Solutions
Reply-To: mvw@ozemail.com.au
Message-ID: <b1rodto3f5nq4hn1rb4l43b4ns0onrgfir@4ax.com>
References: <3ADAB0C3.35E942DC@yahoo.com> <he2mdtodna9edmhljtq94rjb32ud7mddvt@4ax.com> <3ADC3AD3.B5DCE970@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: 203.29.136.59
X-Trace: dnews 987524420 203.29.136.59 (17 Apr 2001 09:20:20 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!feeds.vnews.net!ptdnetP!newsgate.ptd.net!news-xfer.siscom.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews