Re: waveformatex and fillbuffer()
- From: Thore Karlsen [MVP DX] <sid@xxxxxxxx>
- Date: Tue, 24 May 2005 11:23:20 -0500
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
.
- References:
- waveformatex and fillbuffer()
- From: James
- Re: waveformatex and fillbuffer()
- From: Thore Karlsen [MVP DX]
- Re: waveformatex and fillbuffer()
- From: James
- Re: waveformatex and fillbuffer()
- From: Thore Karlsen [MVP DX]
- Re: waveformatex and fillbuffer()
- From: Chris P. [MVP]
- Re: waveformatex and fillbuffer()
- From: Thore Karlsen [MVP DX]
- Re: waveformatex and fillbuffer()
- From: James
- waveformatex and fillbuffer()
- Prev by Date: Re: Insert SmartTee AND control preview and capture independently
- Next by Date: Re: Send video stream over network
- Previous by thread: Re: waveformatex and fillbuffer()
- Next by thread: Why AVI MUX drop Divx compress frame!? before I write it into avi
- Index(es):
Relevant Pages
|