ALAudioSourceLocalization API

NAOqi Audio - Overview | API


Namespace : AL


#include <alproxies/alaudiosourcelocalizationproxy.h>

Method list

As any module, this module inherits methods from ALModule API. It also has the following specific methods:

class ALAudioSourceLocalizationProxy

Methods

void ALAudioSourceLocalizationProxy::setParameter(const std::string& parameter, const AL::ALValue& value)

Deprecated since version 1.22: use ALSoundLocalizationProxy::setParameter() instead.

Sets parameters.

Parameters:
  • parameter – Name of the parameter
  • value – Value of the parameter
void ALAudioSourceLocalizationProxy::subscribe(const std::string& name)

Deprecated since version 1.22: use ALSoundLocalizationProxy::subscribe() instead.

Subscribes to ALAudioSourceLocalization.

Parameters:
  • name – Name used to identify the subscriber
void ALAudioSourceLocalizationProxy::unsubscribe(const std::string& name)

Deprecated since version 1.22: use ALSoundLocalizationProxy::unsubscribe() instead.

Unsubscribes to ALAudioSourceLocalization.

Parameters:

Events

Event: "ALAudioSourceLocalization/SoundLocated"
callback(std::string eventName, AL::ALValue value, std::string subscriberIdentifier)

Deprecated since version 1.22: use ALSoundLocalization/SoundLocated() instead.

Raised when a sound source has been localized.

Parameters:
  • eventName (std::string) – “ALAudioSourceLocalization/SoundLocated”
  • value – Array containing information about the localized sounds. Please refer to ALAudioSourceLocalization for details.
  • subscriberIdentifier (std::string) –