LEADTOOLS Support
General
General Questions
Accessing capture control audio stream
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, May 29, 2012 11:04:13 PM(UTC)
Groups: Registered
Posts: 4
Hi,
We're using the capture control to record video/audio from a web cam. We need to access the audio data to perform analysis on the audio data so I'm wondering what the best/most efficient way of accessing the audio data is? I am already using the ILMADetUserCallback2 with the AudioDetection filter so I thought this could be used to access each sound buffer, unless there is another alternative method? This is a C#.NET project.
#2
Posted
:
Wednesday, May 30, 2012 1:03:13 AM(UTC)
Groups: Registered, Tech Support
Posts: 179
We have a dedicated Audio Callback Filter that gives you the audio sample data, but since you're already using the audio detect filter, you can simply use the audio sample data that's already passed in its callback. In other words, what you thought is correct and you can access the sound buffer using the pData pointer in the CallbackProc() function of the ILMADetUserCallback2 Interface.
If you need an example on how to access the data using C#, see our "CallbackA" project that you can find under the following path:
[LEADTOOLS Multimedia 17.5]\Examples\Ltmm\Dotnet\CS
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
General
General Questions
Accessing capture control audio stream
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.