Re: DirectSound Capture bug at 4GBytes

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Chris P. [MVP]" <msdn@xxxxxxxxxxxx> wrote in message
news:1hh1m9dnadjhi$.7xgi1p7ifpp9$.dlg@xxxxxxxxxxxxx
> On Tue, 3 Jan 2006 22:58:57 +1300, Kit Adams wrote:
>
>> Hi,
>> It appears that one can work around this bug by forcing the capture
>> buffer
>> size in bytes to be a power of 2. However this means you have to force
>> the
>> number of sampling channels to also be a power of 2 (otherwise the
>> capture
>> buffer will not be a multiple of the nBlockAlign size). This is not very
>> convenient if you have, say, a 10 channel M-Audio sound card and want to
>> sample on 10 channels rather than 8.
>
> Interesting. I wonder if it's unique to the M-Audio or a general
> DirectSound problem.
>
> BTW with other sound cards I do multi-channel through the WinMM interface
> without issue. I've tested MOTU, Echo Audio, and some others.

Thanks for that information.
I will try again with WinMM - I might have missed something. I will also try
DirectSound with some other cards to see if the bug still occurs (I'm going
away for 10 days so it won't be until after that).


.



Relevant Pages

  • Re: HR timers soft lockup on resume from suspend to ram
    ... netconsole won't allow to capture ... BUG: ... I get it every time I press on the power button. ... I hadn't the right console loglevel ...
    (Linux-Kernel)
  • Re: Buffer overflows and asctime()
    ... to contain a "bug" as others are not. ... standard the year member receives a maximum value. ... will overflow its buffer if confronted with valid inputs. ... So you still do not understand "undefined behavior". ...
    (comp.std.c)
  • Re: UIO: munmap bug for boot time allocated memory
    ... I'm currently experiencing a kernel bug when munmap'ing a UIO memory region. ... The uio memory region is a large buffer allocated by a UIO ... being able to fill the buffer and user space being able to see the correct ...
    (Linux-Kernel)
  • Re: [Full-disclosure] DNS TXT Record Parsing Bug in LibSPF2z
    ... A relatively common bug parsing TXT records delivered over DNS, ... filters that protect your systems use LibSPF2. ... rdlen byte buffer. ...
    (Full-Disclosure)
  • Bug analysis
    ... char *ReadTextFile ... the fgets function fills our buffer with a line or 119 ... The reallocation asks for "len" more characters, ... this bug can very well go completely undetected in many occasions giving ...
    (comp.lang.c)