MCPcopy Create free account
hub / github.com/audacity/audacity / FROM_INT16

Function FROM_INT16

libraries/lib-math/Dither.cpp:86–89  ·  view source on GitHub ↗

Dereference sample pointer and convert to float sample

Source from the content-addressed store, hash-verified

84
85// Dereference sample pointer and convert to float sample
86static inline float FROM_INT16(const short *ptr)
87{
88 return *ptr / CONVERT_DIV16;
89}
90
91static inline float FROM_INT24(const int *ptr)
92{

Callers 1

ApplyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected