Raj,
I would go with what you are proposing. You would have to be able to
access the stream as it is playing. Direct show would be helpful for this,
but it will NOT be easy. You would have to add a filter to the rendering
graph which would be able to get your marker out of the audio. Then, you
can get the timestamp that is associated with the marker and use it to
perform a lookup for what text to display.
It's more like an event, with a key associated with it.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Raj Chudasama" <raj@asteriasgi_spamkiller.com> wrote in message
news:eE**************@TK2MSFTNGP15.phx.gbl...
I am streaming an audio presentation with which i will also have some text.
I would like to remember the text that was displayed with the audio. I want
this to be replayable later thus requires that text be displayed at the
appropriate time as the original presentation. (make sense?)
what are some solutions that come to your mind?
i haev thought of following so far:
"inject" startucture of a sort in to the audio stream.
use high performance counters to remember time and use hashtable (key,
value) to remember time and text .
pleaes help
thanks