Article View: borland.public.cppbuilder.nativeapi
Article #2653Playing a wav file by MCI
From: Job
Date: Wed, 24 Jan 2007 17:37
Date: Wed, 24 Jan 2007 17:37
11 lines
1398 bytes
1398 bytes
When using the code below the file starts playing but stops after about one
second. MCI is told to be simpler to use than the waveform audio functions?
Carl
-----------------------------------------
mciSendString("open test.wav type waveaudio alias finch",
NULL, 0, NULL);
mciSendString("play finch", NULL, 0 , NULL);
Technical Details
Message-ID:
<45b79914$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.belwue.de!news.germany.com!news.datemas.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!feeder02.uucp.at!feeder08.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,595ac33138cee224,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Job" <no.mail@please.no> From: "Job" <no.mail@please.no> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Playing a wav file by MCI Date: Wed, 24 Jan 2007 18:37:05 +0100 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 83.253.31.155 Message-ID: <45b79914$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1169660180 83.253.31.155 (24 Jan 2007 09:36:20 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.belwue.de!news.germany.com!news.datemas.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!feeder02.uucp.at!feeder08.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail