nanocosmos Documentation

nanocosmos Documentation

  • nanoStream Cloud
  • H5Live Player
  • nanoStream Webcaster
  • nanoStream Apps and SDKs
  • Samples
  • FAQ
Edit

nanostream/directshow/directshow_audio_volume

Mix to mono

The filter is able to mix all channels to a mono channel. This feature can be configured by using the interface IAudioVolumeMix. Here is a short sample code for c++:

CComQIPtr<IAudioVolumeMix, &IID_IAudioVolumeMix> pAudioVolMix = m_pAudioVol;
if(pAudioVolMix)
{
   pAudioVolMix->MixToMono(true); // true==mix all channels to one
}
...

**Note: ** that the option MixToMono has to be set before the output pin of the Audio Volume filter is connected to another filter.

Last updated on 2/21/2021
  • Mix to mono
Contact
HomepageContactSupportLegal Terms
Products
Nanostream Cloud with Bintu.LiveH5Live Low Latency HTML5-PlayernanoStream WebcasterNanostream Apps and SDK
More
BlogTwitterFacebookLinkedInGitHubStar
nanocosmos GmbH
Copyright © 2021 nanocosmos GmbH - doc version Sun Feb 21 2021 20:36:34 GMT+0000 (Coordinated Universal Time)