17 #ifndef OBOE_UTILITIES_H 18 #define OBOE_UTILITIES_H 21 #include <sys/types.h> 23 #include "oboe/Definitions.h" 59 template <
typename FromType>
87 #endif //OBOE_UTILITIES_H void convertFloatToPcm16(const float *source, int16_t *destination, int32_t numSamples)
const char * convertToText(FromType input)
std::string getPropertyString(const char *name)
int getPropertyInteger(const char *name, int defaultValue)
void convertPcm16ToFloat(const int16_t *source, float *destination, int32_t numSamples)
AudioFormat
Definition: Definitions.h:94
int32_t convertFormatToSizeInBytes(AudioFormat format)
Definition: AudioStream.h:31