Article View: borland.public.cppbuilder.multimedia
Article #359Re: Recording 24-bit audio
From: Tone
Date: Wed, 25 Aug 2004 18:23
Date: Wed, 25 Aug 2004 18:23
20 lines
1548 bytes
1548 bytes
> (Oh, I also had to write a MSVC DLL to get the KSDATAFORMAT_SUBTYPE_PCM > value, BCB provides a KsMedia.h file but not the (static) library to > link with it to get the values! Since the library in the MS SDK is > static, it won't link with a BCB progarm...) This seems to make sense and compiles on CPPBuilder. I found this somewhere on the net, I don't remember where. char *ptr; /* KSDATAFORMAT_SUBTYPE_PCM: 00000001-0000-0010-8000-00aa00389b71 */ ptr = &WFE.SubFormat; *ptr++ = 0x01; *ptr++ = 0x00; *ptr++ = 0x00; *ptr++ = 0x00; *ptr++ = 0x00; *ptr++ = 0x00; *ptr++ = 0x10; *ptr++ = 0x00; *ptr++ = 0x80; *ptr++ = 0x00; *ptr++ = 0x00; *ptr++ = 0xaa; *ptr++ = 0x00; *ptr++ = 0x38; *ptr++ = 0x9b; *ptr++ = 0x71;
Technical Details
Message-ID:
<6ab9363f.0408251023.513b3374@posting.google.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mailReferences:
<slrncgs250.j46.chris@ccserver.keris.net>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,8e64642a5fffef81 X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail From: toonces_t@yahoo.com (Tone) Newsgroups: borland.public.cppbuilder.multimedia Subject: Re: Recording 24-bit audio Date: 25 Aug 2004 11:23:13 -0700 Organization: http://groups.google.com Lines: 20 Message-ID: <6ab9363f.0408251023.513b3374@posting.google.com> References: <slrncgs250.j46.chris@ccserver.keris.net> NNTP-Posting-Host: 192.88.142.253 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1093458194 31437 127.0.0.1 (25 Aug 2004 18:23:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Aug 2004 18:23:14 +0000 (UTC)