🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: I need help on lineGetID() and waveInOpen()

#978
From: Michael Warner
Date: Sat, 16 Mar 2002 15:31
13 lines
1762 bytes
On Fri, 15 Mar 2002 00:43:08 +0800, "Paul" <ytooi@usa.net> wrote:

>I am writing a program that will answer a call and record messages.
>Everything works fine, my program is able to wait for incoming calls, answer
>them and play a message but it could not record messages.  Below are the
>functions used to get the line wave ID and record messages.  At the function
>recordmsg(), waveInOpen() failed with the error codes MMSYSERR_BADDEVICEID,
>MMSYSERR_NODRIVER and MMSYSERR_NOMEM, can someone tell me what is wrong with
>my code?

I can't tell you directly whether or why you have the wrong wave
device ID, but you could call waveInGetNumDevs and waveInGetDevCaps()
to determine whether it's returning the expected device ID.
Technical Details
Message-ID: <iro69u82cdnai5mmiq71kd69q7leoba8d9@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!hub1.nntpserver.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3c90ce92_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,cb8f511ac0187541
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2002-03-16 07:39:02 PST
From: Michael Warner <mvw@ozemail.com.au>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Re: I need help on lineGetID() and waveInOpen()
Date: Sun, 17 Mar 2002 02:01:09 +1030
Organization: Warner Solutions
Reply-To: mvw@ozemail.com.au
Message-ID: <iro69u82cdnai5mmiq71kd69q7leoba8d9@4ax.com>
References: <3c90ce92_1@dnews>
X-Newsreader: Forte Agent 1.9/32.560
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 202.7.186.5
X-Trace: dnews 1016292373 202.7.186.5 (16 Mar 2002 07:26:13 -0800)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!hub1.nntpserver.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews