By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,107 Members | 1,609 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,107 IT Pros & Developers. It's quick & easy.

How can... audio + text quesion

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.