#include <audioconverter.h>
The AbstractEngine class provides the internal audio converter.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
◆ AudioConverter()
◆ configure()
Sets working audio format. This function should be called before object usage.
- Parameters
-
◆ fromFloat()
void fromFloat |
( |
const float * |
in, |
|
|
unsigned char * |
out, |
|
|
size_t |
samples |
|
) |
| |
Converts samples from Qmmp::PCM_FLOAT format to specified working format.
- Parameters
-
in | Input buffer. |
out | Output buffer. |
samples | Number of samples. |
◆ toFloat()
void toFloat |
( |
const unsigned char * |
in, |
|
|
float * |
out, |
|
|
size_t |
samples |
|
) |
| |
Converts samples from specified working format to Qmmp::PCM_FLOAT format.
- Parameters
-
in | Input buffer. |
out | Output buffer. |
samples | Number of samples. |
The documentation for this class was generated from the following file: