🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14183

reading a wave file with mmsystems

#14183
From: Jakub
Date: Wed, 03 Sep 2003 14:10
13 lines
1450 bytes
Hi,

I am trying to use mmioread to read the audio data of a wav
file.  I get to the point where I have a character array which
is supposed to have the data stored in it.  The data does not 
make a lot of sense to me however.  How do I extract the 16 bit 
words (the audio data) from the char* returned by mmioread

Or if anyone has other suggestions on how to extract the 16 data words from a wave file, that would be great too.

any help appreciated
Jakub
Technical Details
Message-ID: <3f55f663$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,93cfa808856bdb97,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-03 07:31:16 PST
From: "Jakub" <jakub.dudek@ti.com>
Sender: "Jakub" <jakub.dudek@ti.com>
Reply-To: "Jakub" <jakub.dudek@ti.com>
Subject: reading a wave file with mmsystems
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 192.91.75.30 192.91.75.30    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3f55f663$1@newsgroups.borland.com>
Date: 3 Sep 2003 07:10:43 -0700
X-Trace: newsgroups.borland.com 1062598243 207.105.83.65 (3 Sep 2003 07:10:43 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail