#ifndef _SG_SAMPLE_HXX
#define _SG_SAMPLE_HXX 1
+#include <simgear/math/SGMath.hxx>
#include <simgear/props/props.hxx>
enum {
SGSoundSampleInfo();
~SGSoundSampleInfo() {}
- /**
- * Returns the format of this audio sample.
- * @return SimGear format-id
- */
- unsigned int get_format_AL();
-
/**
* Returns the format of this audio sample.
* @return SimGear format-id
_tracks = fmt & 0x3; _bits = fmt & 0x1C; _compressed = fmt & 0x100;
}
- void set_format_AL( int fmt );
-
/**
* Set the frequency (in Herz) of this audio sample.
* @param freq Frequency