as in the subject, soundPlaySample has a u32 dataSize param but then it does this:
Code: Select all
msg.SoundPlay.dataSize = dataSize >> 2;
Code: Select all
struct {
u16 type;
const void* data;
u16 loopPoint;
u16 dataSize;
u16 freq;
u8 volume;
u8 pan;
bool loop;
u8 format;
} SoundPlay;