/usr/include/simgear/sound/readwav.hxx is in libsimgear-dev 1:2018.1.1+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #ifndef SG_SOUND_READWAV_HXX
#define SG_SOUND_READWAV_HXX
#if defined( __APPLE__ )
# include <OpenAL/al.h>
#elif defined(OPENALSDK)
# include <al.h>
#else
# include <AL/al.h>
#endif
// forward decls
class SGPath;
#define DEFAULT_IMA4_BLOCKSIZE 36
#define BLOCKSIZE_TO_SMP(a) ((a) > 1) ? (((a)-4)*2) : 1
namespace simgear
{
ALvoid* loadWAVFromFile(const SGPath& path, unsigned int& format, ALsizei& size, ALfloat& freqf, unsigned int& block_align);
}
#endif // of SG_SOUND_READWAV_HXX
|