Article View: borland.public.cppbuilder.multimedia
Article #429Re: Recording 24-bit audio (additional info)
From: Chris Croughton
Date: Tue, 03 Aug 2004 18:59
Date: Tue, 03 Aug 2004 18:59
32 lines
2006 bytes
2006 bytes
On Tue, 3 Aug 2004 11:40:23 +0100, Mark Jacobs <> wrote: > "Chris Croughton" <chris@keristor.net> wrote in message > news:slrncgs56p.j46.chris@ccserver.keris.net... >| Further to my last, the WAVEFORMATEX structure has values: > ... >| 0x00056220 352800 nAvgBytesPerSec > > Hiya Chris. I have also experimented with very high byte rates using BCB5. I > found that the Windows multimedia system is a bit slow at handling such high > rates, and data drop-outs are frequent. If you up the priority using :- > > SetPriorityClass(Application->Handle,HIGH_PRIORITY_CLASS); > // or something like that > > does that make a difference? Good thinking, I wondered about 100Hz (sounds like the system clock frequency). Unfortunately, no, it doesn't eliminate it. It makes the 100Hz 'ticks' worse, if anything, and I still only get the right-hand channel. When I set it to 16 bits (with the format == 1, not extended) it's fine (but at 16 bits). As a dyslexic young friend of mine says, I'm confussed... It's not really a very high rate, the sound card (and other software using the same system and hardware) goes up to 24/96kHz quite happily. Thanks for pointing me at that system call, it will be useful in other places... Chris C
Technical Details
Message-ID:
<slrncgvo3t.5n3.chris@ccserver.keris.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<slrncgs56p.j46.chris@ccserver.keris.net> <410f6b8a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,56d63b5f0bddbea3 X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Croughton <chris@keristor.net> Newsgroups: borland.public.cppbuilder.multimedia Subject: Re: Recording 24-bit audio (additional info) Date: Tue, 3 Aug 2004 19:59:10 +0100 Lines: 32 Message-ID: <slrncgvo3t.5n3.chris@ccserver.keris.net> References: <slrncgs56p.j46.chris@ccserver.keris.net> <410f6b8a@newsgroups.borland.com> Reply-To: chris@keristor.net X-Trace: news.uni-berlin.de BfGHinMhMabmT/VC9sxUYQ6/NnGO8hqXoQj9g86YpI8W5Wpcw= X-Orig-Path: ccserver.keris.net!news User-Agent: slrn/0.9.7.4 (Linux)