Article View: borland.public.cppbuilder.nativeapi
Article #6183Truncate wave files when recording
From: nicolasr
Date: Wed, 01 Jun 2005 13:55
Date: Wed, 01 Jun 2005 13:55
15 lines
1439 bytes
1439 bytes
Hi, I want to use MCI/TMediaPlayer to record wave sounds played by my own program. At startup I create an empty wave file to record to. The problem is that this file is never truncated when I start a new recording. It always grows in size, even when I close and reopen the device (TMediaPlayer::Open/Close). Why is the file not truncated? 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. thanks for any idea! Nick
Technical Details
Message-ID:
<429dbe5d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e7feb4d34e558a21,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Truncate wave files when recording Date: Wed, 1 Jun 2005 15:55:36 +0200 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 84.174.179.214 Message-ID: <429dbe5d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1117634141 84.174.179.214 (1 Jun 2005 06:55:41 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail