![]() |
SOUND4 IMPACT.CL Library [1.3.4]
|
Dynamic library interface. More...
#include <sound4cl.hpp>
Public Member Functions | |
| CProcessor ()=default | |
| bool | Load (const std::filesystem::path &filepath) |
| Loads the library. | |
| bool | IsOk () const |
| Check if the library was loaded correctly. | |
| void | AudioConvertFrom (const uint8_t *payload, float *output, size_t nSpl, sound4cl_SampleFormat fmt) |
| void | AudioConvertTo (const float *input, uint8_t *payload, size_t nSpl, sound4cl_SampleFormat fmt) |
| void | StereoToMono (const float *input, float *output, size_t nSpl) |
| void | MonoToStereo (const float *input, float *output, size_t nSpl) |
| void | StereoToMono_Planar (const float *inputL, const float *inputR, float *output, size_t nSpl) |
| void | MonoToStereo_Planar (const float *input, float *outputL, float *outputR, size_t nSpl) |
| void | AudioMonoFromLiveStereo (const uint8_t *payload, float *output) |
| void | AudioMonoToLiveStereo (const float *input, uint8_t *payload) |
| std::string | GetVersion () |
| unsigned int | GetChunkSizeInFrames () |
| std::vector< unsigned int > | GetPossibleChunkSizeInFrames () |
| unsigned int | GetChannelCount () |
| unsigned int | GetAudioInputCount () |
| unsigned int | GetAudioOutputCount () |
| unsigned int | GetSampleRate () |
| std::string | GetFormatName (const sound4cl_SampleFormat fmt) |
| sound4cl_SampleFormat | GetFormatFromName (const std::string &name) |
| unsigned int | GetBytesFromFormat (const sound4cl_SampleFormat fmt) |
| void | SetLogSeverity (LogSeverity severity) |
| void | SetLoggerCallback (log_cb_t cb) |
Protected Member Functions | |
| template<typename T > | |
| helper::DynFuncHolder< T > | GetPrefixSymbol (const std::string &name) |
Friends | |
| class | CBus |
| class | CInstance |
Once you loaded the library with Load(), if it succeed you can use all the standard C functions from this library.
Definition at line 276 of file sound4cl.hpp.
|
default |
|
inline |
Conversion helpers
Definition at line 569 of file sound4cl.hpp.
|
inline |
Definition at line 571 of file sound4cl.hpp.
|
inline |
Definition at line 581 of file sound4cl.hpp.
|
inline |
Definition at line 583 of file sound4cl.hpp.
|
inline |
Get the number of inputs for this process
Definition at line 641 of file sound4cl.hpp.
|
inline |
Get the number of outputs for this process
Definition at line 651 of file sound4cl.hpp.
|
inline |
Get the format byte size
| fmt | the format |
Definition at line 688 of file sound4cl.hpp.
|
inline |
Get the number of channels needed by this process
Definition at line 631 of file sound4cl.hpp.
|
inline |
Get the number of frames in a process chunk.
The output will be available only by chunks of this size.
Definition at line 602 of file sound4cl.hpp.
|
inline |
Convert string to format
| name | the format string |
Definition at line 679 of file sound4cl.hpp.
|
inline |
Convert format to string
| fmt | the format |
Definition at line 670 of file sound4cl.hpp.
|
inline |
Get the possibles number of frames in a process chunk.
The output will be available only by chunks of this size.
Definition at line 613 of file sound4cl.hpp.
|
inlineprotected |
Definition at line 370 of file sound4cl.hpp.
|
inline |
Get the processing sample-rate
Definition at line 661 of file sound4cl.hpp.
|
inline |
|
inline |
Definition at line 561 of file sound4cl.hpp.
|
inline |
| filepath | the path of the library to load. |
Definition at line 385 of file sound4cl.hpp.
|
inline |
Definition at line 575 of file sound4cl.hpp.
|
inline |
Definition at line 579 of file sound4cl.hpp.
|
inline |
Sets the log callback. If not set, console output will be used.
Definition at line 700 of file sound4cl.hpp.
|
inline |
Sets the log severity (global)
Definition at line 694 of file sound4cl.hpp.
|
inline |
Definition at line 573 of file sound4cl.hpp.
|
inline |
Definition at line 577 of file sound4cl.hpp.
|
friend |
Definition at line 282 of file sound4cl.hpp.
|
friend |
Definition at line 283 of file sound4cl.hpp.
|
protected |
Definition at line 315 of file sound4cl.hpp.
|
protected |
Definition at line 316 of file sound4cl.hpp.
|
protected |
Definition at line 319 of file sound4cl.hpp.
|
protected |
Definition at line 320 of file sound4cl.hpp.
|
protected |
Definition at line 323 of file sound4cl.hpp.
|
protected |
Definition at line 324 of file sound4cl.hpp.
|
protected |
Definition at line 326 of file sound4cl.hpp.
|
protected |
Definition at line 302 of file sound4cl.hpp.
|
protected |
Definition at line 358 of file sound4cl.hpp.
|
protected |
Definition at line 328 of file sound4cl.hpp.
|
protected |
Definition at line 345 of file sound4cl.hpp.
|
protected |
Definition at line 295 of file sound4cl.hpp.
|
protected |
Definition at line 298 of file sound4cl.hpp.
|
protected |
Definition at line 318 of file sound4cl.hpp.
|
protected |
Definition at line 289 of file sound4cl.hpp.
|
protected |
Definition at line 290 of file sound4cl.hpp.
|
protected |
Definition at line 308 of file sound4cl.hpp.
|
protected |
Definition at line 309 of file sound4cl.hpp.
|
protected |
Definition at line 313 of file sound4cl.hpp.
|
protected |
Definition at line 288 of file sound4cl.hpp.
|
protected |
Definition at line 287 of file sound4cl.hpp.
|
protected |
Definition at line 310 of file sound4cl.hpp.
|
protected |
Definition at line 312 of file sound4cl.hpp.
|
protected |
Definition at line 311 of file sound4cl.hpp.
|
protected |
Definition at line 314 of file sound4cl.hpp.
|
protected |
Definition at line 344 of file sound4cl.hpp.
|
protected |
Definition at line 317 of file sound4cl.hpp.
|
protected |
Definition at line 297 of file sound4cl.hpp.
|
protected |
Definition at line 352 of file sound4cl.hpp.
|
protected |
Definition at line 353 of file sound4cl.hpp.
|
protected |
Definition at line 291 of file sound4cl.hpp.
|
protected |
Definition at line 286 of file sound4cl.hpp.
|
protected |
Definition at line 299 of file sound4cl.hpp.
|
protected |
Definition at line 300 of file sound4cl.hpp.
|
protected |
Definition at line 354 of file sound4cl.hpp.
|
protected |
Definition at line 322 of file sound4cl.hpp.
|
protected |
Definition at line 340 of file sound4cl.hpp.
|
protected |
Definition at line 357 of file sound4cl.hpp.
|
protected |
Definition at line 325 of file sound4cl.hpp.
|
protected |
Definition at line 294 of file sound4cl.hpp.
|
protected |
Definition at line 349 of file sound4cl.hpp.
|
protected |
Definition at line 306 of file sound4cl.hpp.
|
protected |
Definition at line 307 of file sound4cl.hpp.
|
protected |
Definition at line 327 of file sound4cl.hpp.
|
protected |
Definition at line 329 of file sound4cl.hpp.
|
protected |
Definition at line 359 of file sound4cl.hpp.
|
protected |
Definition at line 292 of file sound4cl.hpp.
|
protected |
Definition at line 293 of file sound4cl.hpp.
|
protected |
Definition at line 343 of file sound4cl.hpp.
|
protected |
Definition at line 362 of file sound4cl.hpp.
|
protected |
Definition at line 296 of file sound4cl.hpp.
|
protected |
Definition at line 348 of file sound4cl.hpp.
|
protected |
Definition at line 303 of file sound4cl.hpp.
|
protected |
Definition at line 321 of file sound4cl.hpp.
|
protected |
Definition at line 339 of file sound4cl.hpp.
|
protected |
Definition at line 304 of file sound4cl.hpp.
|
protected |
Definition at line 301 of file sound4cl.hpp.
|
protected |
Definition at line 305 of file sound4cl.hpp.
|
protected |
Definition at line 334 of file sound4cl.hpp.
|
protected |
Definition at line 367 of file sound4cl.hpp.
|
protected |
Definition at line 366 of file sound4cl.hpp.
|
protected |
Definition at line 365 of file sound4cl.hpp.
|
protected |
Definition at line 336 of file sound4cl.hpp.
|
protected |
Definition at line 335 of file sound4cl.hpp.
|
protected |
Definition at line 332 of file sound4cl.hpp.
|
protected |
Definition at line 333 of file sound4cl.hpp.