YobeSDK  0.2.0
yobe_lib_util.hpp File Reference
#include "sdk_build_defs.hpp"
#include <cstdint>
#include <functional>

Go to the source code of this file.

Namespaces

 Yobe
 Contains all Yobe-related functions and structures.
 
 Yobe::Info
 Namespace for obtaining information about Yobe's library.
 

Enumerations

enum class  Yobe::BiometricSensitivity {
  Yobe::LOWEST , Yobe::LOW , Yobe::MEDIUM , Yobe::HIGH ,
  Yobe::HIGHEST
}
 The level of sensitivity to use for biometric template matching. More...
 
enum class  Yobe::VoiceTarget { Yobe::NEAR_FIELD , Yobe::FAR_FIELD }
 These enums are used to specify whether the target voice is near or far from the microphone. More...
 
enum class  Yobe::OutputTarget { Yobe::YOBE_ASR , Yobe::YOBE_MUTE }
 The enumeration is used to define the output target of LATTE algorithm. The output or sink target can be either for Automatic Speech Recognition (ASR) or for muting applications. More...
 
enum class  Yobe::Status : int16_t {
  Yobe::YOBE_UNKNOWN = -1 , Yobe::YOBE_OK = 0 , Yobe::YOBE_ERROR = 1 , Yobe::ALREADY_INIT = 2 ,
  Yobe::NEEDS_MORE_DATA = 3 , Yobe::INVALID_LICENSE = 4 , Yobe::SESSION_EXPIRE = 5 , Yobe::YOBE_STOPPED = 6 ,
  Yobe::HANDLE_INVALID = 7
}
 Yobe status codes that give information on internal state. More...
 

Functions

YOBE_SDK_API const char * Yobe::Info::LibraryVersion ()
 Returns the version of Yobe's library in the format: <Major>.<Interim>.<Minor> More...
 
YOBE_SDK_API const char * Yobe::Info::StdError (Status status)
 Translates a Yobe Status code into a more readable string. More...
 
YOBE_SDK_API double Yobe::Info::AudioBufferTime ()
 Returns the processing audio buffer length in seconds. More...
 
YOBE_SDK_API uint32_t Yobe::Info::OutputBufferSize ()
 Returns the output buffer size in samples. More...
 
YOBE_SDK_API uint32_t Yobe::Info::InputBufferSize ()
 Returns the input buffer size in samples. More...
 
YOBE_SDK_API int32_t Yobe::Info::OutputChannels ()
 Returns the number of processing output channels. More...
 
YOBE_SDK_API int32_t Yobe::Info::InputChannels ()
 Returns the number of input channels required for processing. More...
 
YOBE_SDK_API uint32_t Yobe::Info::SamplingRate (bool output_sampling_rate=true)
 Returns the expected sampling rate of the input/output buffers. More...
 
YOBE_SDK_API void Yobe::Info::RegisterCallback (std::function< void(const char *)> log_callback)
 Registers a callback function to receive Yobe logging information. More...
 

Detailed Description

@description: The API for Yobe's library utilities.