Re: waveformatex and fillbuffer()

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Tue, 24 May 2005 09:13:50 -0700, "James" <j.w at No_Spam_Please zoom
co uk> wrote:

>Thanks Thore, I'll try your suggestion (overriding the renderer input pin's
>GetAllocatorRequirements() ) I'll let you know how it goes. As a side
>question, once I have the sample, I will have one seconds worth of wav with
>a media start time and end time on second apart. In my outgoing source
>filter can I send one seconds worth of wav data with a media start and end
>time one second apart or do I need to break it down into individual samples
>(2bytes each) with incrementing timestamps?

You can send the full seconds worth of data. While you can split up
samples if you need to, it doesn't sound like you need to in your case.
Even if you did need to do it, 2 byte buffers are too small. The
overhead would be too great. If you're playing back the audio, you'd
probably be stuck having to wait for new buffers to fill, and you'd get
choppy audio, if any.

>Thanks again and sorry for all the qus, I am use to working with video. The
>audio side of things is still new to me.

No problem. :)

--
New to newsgroups? Read: http://dev.6581.com/newsgroups.html
.



Relevant Pages

  • Re: How to disable Software Mixer?
    ... Apparently it's the audio ... flow from the application to the driver. ... buffers are passed 'just as' to the driver. ... Call waveOutUnprepareHeader on each header. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Copy wavein to waveout
    ... Audio hardware is Sound Blaster AWE 64. ... >> thread for reading a writing and I pass buffers from the reader to ... > 10ms buffers with WaveIn/Out. ... >> window that the wave driver stops playing but that isn't what is ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: DSP System
    ... all you need to get a project like this off the ground - the DSP chip, ... targeted specifically for audio use. ... 20-30$ worth of components and another 20-30$ for the pcb yet they ... plus all a whole bunch of software tools. ...
    (sci.electronics.design)
  • Re: Copy wavein to waveout
    ... Regarding my initial goal of doing this with wave. ... thread for reading a writing and I pass buffers from the reader to the ... doing this I get crackle audio. ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: Marc Phillips is a BAD REVIEWER -- DO NOT TRUST
    ... wasn't worth the trouble to sort you out from your nemesis. ... worth of vintage audio equipment, ... assumed right to assert subjective judgement for others, ... opinions of another simply by asserting his own superior discrimination, ...
    (rec.audio.opinion)