🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Please help me to debug WASAPI sample

#190
From: James5950
Date: Wed, 05 Mar 2008 10:43
20 lines
1765 bytes
Dear All,

I just finished translate the MS WinAudio WASAPI sample to BCB2007, almost 
done and without compiler error.
But can not play sinewave just like the WinAudio; and will be error on push 
the stop button.
Run this sample on BCB2007 debug mode step trace, can hear a bit of sound 
from speaker, but can not keep continue to play all sinewave. The player 
thread will be exit on playing.
Can not load wave file to play.

This sample you can download from this link
http://www.1come.com.tw/wasapi/WASAPI%20DemeSineWave.zip

I hope somebody can help me fix these issues and modify them like BCB style.
If you done this please send me the code back. Thank you!

Best regards,

James
Technical Details
Message-ID: <47ce7979@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,e795a15e68102785,start
X-Google-Attributes: gid10d0fc,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "James5950" <James@1come.com.tw>
From: "James5950" <James@1come.com.tw>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Please help me to debug WASAPI sample
Date: Wed, 5 Mar 2008 18:43:46 +0800
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16386
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16386
NNTP-Posting-Host: 211.22.94.94
Message-ID: <47ce7979@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1204713849 211.22.94.94 (5 Mar 2008 02:44:09 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1615