Re: Async Filter question
From: Iain (idownsXXXX_at_dircon.co.uk)
Date: 02/26/04
- Next message: Chris P. [MVP]: "Re: Problem in device enumeration"
- Previous message: Mujtaba: "Re: Problem in device enumeration"
- In reply to: Wilbur: "Re: Async Filter question"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 15:06:24 -0000
Use a Push filter
You will need to add a custom interface with a 'queue for streaming' method
and you must be sure that the formats of each successive file are identical.
If they are not then you have a problem becuase you need to partially or
totally rebuild the graph between streams.
This is a comman request and there are NO easy answers.
The most generic solution is to build a source filter which is fed by sink
filters (basically psuedo renderers) in separate graphs in the same process.
The idea being that the format conversion (to wav for example) takes place
in the other graphs (regardless of what the source is) and as one comes to
an end the next is switched in to the source of the output graph.
A number of people had done this. One DS Guru say's it only took him a day
to do htis (which I'm sure is true). If you are not expert in DS I would
budget a good deal longer.
(You can in theory rebuild hte grpah whilst it is running, but it depends on
all the filters involved supporting the appropriate interfaces. See Dynamic
Graph Building or som such in the docs).
Iain
"Wilbur" <anonymous@discussions.microsoft.com> wrote in message
news:12E243C3-91A8-4DEE-A4A6-C49CB9EB49C4@microsoft.com...
> Thanks for the info Iain.
>
> The thing that is complicating the issue is that I want to add new audio
file data to the stream dynamically while it is already playing the first
files. I think I want to mimic a live audio source, but pull data from the
(.mp3/.wav) files instead of the sound card inputs.
>
> Thanks
> Wilbur
- Next message: Chris P. [MVP]: "Re: Problem in device enumeration"
- Previous message: Mujtaba: "Re: Problem in device enumeration"
- In reply to: Wilbur: "Re: Async Filter question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|