Sha256: 23834d439012d6e28b17024ccbea24c57afd6c4289d1634a06bfaee1104ec395
Contents?: true
Size: 340 Bytes
Versions: 2
Compression:
Stored size: 340 Bytes
Contents
#ifndef COREAUDIO_H #define COREAUDIO_H 1 extern VALUE rb_mCoreAudio; extern VALUE rb_mAudioFile; extern void Init_coreaudio_audiofile(void); /*-- Utility Macros --*/ #define CROPF(F) ((F) > 1.0 ? 1.0 : (((F) < -1.0) ? -1.0 : (F))) #define FLOAT2SHORT(F) ((short)(CROPF(F)*0x7FFF)) #define SHORT2FLOAT(S) ((double)(S) / 32767.0) #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coreaudio-0.0.2 | ext/coreaudio.h |
coreaudio-0.0.1 | ext/coreaudio.h |