Re: WaveIn Problem in XP



Doubling the buffer size to 0.4 secs (== 910 bytes) made no difference
to the speed multiple - it returned the buffer every 94mS instead of
every 406mS. The buffer must be on a block align multiple (65 bytes for
GSM) any way.

If "buffer size too small" were a factor, why didn't the
waveInPrepareHeader() function fail.

MS GSM 6.10 is a bog-standard compression format, the appropriate codec
is installed, and has formats for the sample rates I request.
waveOut???() functions (playback) work fine at these settings of
format, sample rates and buffer sizes.

Thanks for replying though.

Alan Lloyd

.



Relevant Pages

  • Re: ACM Convert - acmStreamOpen return 512
    ... Only if the sample rates are the same, ... PCM to compressed or compressed to PCM _must_ be at the same sample ... So going PCM to GSM at different sample rates ... If you choose your buffer sizes appropriately you can (for PCM to ...
    (microsoft.public.win32.programmer.mmedia)
  • [NEWS] How to Remotely and Automatically Exploit a Format Bug
    ... Exploiting a format bug remotely is not as difficult as one would think. ... We will use very minimalist server along this paper. ... Since the buffer is directly available to a malicious user, ... Guessing the address of the shellcode in the stack ...
    (Securiteam)
  • Re: quick overview of the perfmon2 interface
    ... The initial perfmon interface design as implemented in the 2.4 kernel series ... at their sampling buffer, they were aggregating samples instead of storing ... Our default sampling format stores samples sequentially, ...
    (Linux-Kernel)
  • Re: 2.6.11-rc1-mm1
    ... Because it wants to enforce a data format on buffer boundaries. ... Basically, in the case of LTT at least, the kernel tracing infrastructure ... one of the goals was to have a trace format that provided ...
    (Linux-Kernel)
  • Re: [Perfctr-devel] Re: quick overview of the perfmon2 interface
    ... > only valid if the process has bound itself to a single CPU? ... This option is for a context monitoring the whole system, ... > implementation would suit all sampling buffer formats. ... format" isn't a particularly good one. ...
    (Linux-Kernel)