🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6192

Re: Truncate wave files when recording

#6192
From: Bob Gonder
Date: Wed, 01 Jun 2005 17:19
10 lines
1280 bytes
nicolasr wrote:

>I don't want to delete and recreate the temp file at the time the record
>button is pressed. This would provide an anacceptable delay.

	SetFilePointer( handle, 0, NULL, FILE_BEGIN );
	SetEndOfFile( handle );
or

Close the file and open a new one when recording stops.
Technical Details
Message-ID: <46rr91piit2jac2lahiq3bmp2jd63ctdal@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <429dbe5d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e7feb4d34e558a21
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Truncate wave files when recording
Date: Wed, 01 Jun 2005 10:19:41 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <46rr91piit2jac2lahiq3bmp2jd63ctdal@4ax.com>
References: <429dbe5d$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.154.209
X-Trace: newsgroups.borland.com 1117646379 67.77.154.209 (1 Jun 2005 10:19:39 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail