AudioDjStudioApi.AudioDjStudioApiObj PlaySoundFromRecorderEx

Started by Terry, May 22, 2020, 11:05:22 AM

Previous topic - Next topic

Terry

Hello,

I want to real-time play sound data coming from an input device.

Does "Audio Sound Recorder API for .NET" driver type only goes with DIRECT_SOUND, when PlaySoundFromRecorderEx?

If I set drivertype to WASAPI, Does it works?

Best regards,
Terry

Administrator

Hello,

the PlaySoundFromRecorderEx method was introduced specifically for DirectSound when WASAPI was still not available in Windows.

With WASAPI, listening and playing back the audio flow from a capture device is quite easier and doesn't require using both components (DJ Studio and the Recorder) anymore, indeed you can perform this task using the "Audio Dj Studio API for .NET" only by leveraging the WASAPI.AttachInputDeviceToPlayer method.

You can see how to use this method by looking into the code of the WasapiInputPlayer sample, available in both C# and VB.NET, installed by our setup package within samples of "Audio DJ Studio API for .NET".

Hope this helps.

Kind Regards

Severino Delaurenti
MultiMedia Soft