Article View: borland.public.cppbuilder.multimedia
Article #602Re: microphone signal level
From: Mark Jacobs
Date: Fri, 02 Apr 2004 21:05
Date: Fri, 02 Apr 2004 21:05
45 lines
2147 bytes
2147 bytes
Correction. It should be :-
//--------------------------------------------------------------------------
-
void __fastcall TForm1::FormCloseQuery(TObject *Sender, bool &CanClose)
{
zcMMTimer1->Enabled=false; waveInStop(phwo);
waveInUnprepareHeader(phwo,&wvhd,sizeof(WAVEHDR));
waveInClose(phwo); CanClose=true;
}
//--------------------------------------------------------------------------
-
--
Mark Jacobs
"Mark Jacobs" <mark@losethisbitjacobsm.com> wrote in message
news:406dd216$1@newsgroups.borland.com...
> I forgot to add, in the form closequery event, put this :-
>
> if (zcMMTimer1->Enabled)
> {
> zcMMTimer1->Enabled=false; waveInClose(phwo);
> }
> --
> Mark Jacobs
>
> "Mark Jacobs" <mark@losethisbitjacobsm.com> wrote in message
> news:406dcd6d@newsgroups.borland.com...
> > In the public section of your form, add the following :-
> > ...// Lots snipped ...
>
> > "iim" <imamsiswanto@yahoo.com.sg> wrote in message
> > news:40622392$1@newsgroups.borland.com...
> > >
> > > I need a small program to measure the signal level from microphone via
> > sound card. Anybody can help ?
>
>
Technical Details
Message-ID:
<406dd58e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40622392$1@newsgroups.borland.com> <406dcd6d@newsgroups.borland.com> <406dd216$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0fc,69ad54c752dc4e15 X-Google-Attributes: gid10d0fc,public X-Google-ArrivalTime: 2004-04-02 13:10:01 PST From: "Mark Jacobs" <mark@losethisbitjacobsm.com> Newsgroups: borland.public.cppbuilder.multimedia References: <40622392$1@newsgroups.borland.com> <406dcd6d@newsgroups.borland.com> <406dd216$1@newsgroups.borland.com> Subject: Re: microphone signal level Date: Fri, 2 Apr 2004 22:05:08 +0100 Lines: 47 Organization: DK Computing X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 81.86.186.94 Message-ID: <406dd58e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1080939918 81.86.186.94 (2 Apr 2004 13:05:18 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail