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