Thanks for the response Neil, maybe if I explain what I am trying to do you may know of a way. I have an audio stream that is coming off of media encoder that is being listened to by a program I wrote in C#. 99% of the time the audio is just silence other then an an extremely quite hum (due to the fact it is an analog device). I want to be able to alert the user of the app when real audio (not the background hum) is coming through the audio stream. I assumed there would be a way to determine when the sound volume is at a certain level. People who make plugins for visualizations must have access to this value somehow. I would just hook in to the sound card, but if the person also had music playing or email notifications the app would not be able to differentiate.
Any insight you might have would be greatly appreciated.
sean
"Neil Smith [MVP Digital Media]" wrote:
[Quoted Text] > On Fri, 18 May 2007 15:43:02 -0700, Sean > <Sean[ at ]discussions.microsoft.com> wrote: > > >I have a C# program that wraps the media player component. I need to be able > >to get the sound level (note: Not volume level) of the current audio stream. > >Any way to get this from media player? > > I don't think it exports that value anywhere you can access it, no. > > Cheers - Neil > ------------------------------------------------ > Digital Media MVP : 2004-2007 > http://mvp.support.microsoft.com/mvpfaqs>
|