std1.0.0-beta-7 SafeC docs

std :: audio::audio_convert

Function std::audio_sample_read

#include <std/audio/audio_convert.h> source ยท definition

double audio_sample_read([]const unsigned char bytes, unsigned int format)

One sample of any AUDIO_FORMAT_* at the start of 'bytes', as double (0.0 if 'bytes' is shorter than one sample), and back (nothing written if it is).