32 #include "servers/audio_server.h" 38 RES_BASE_EXTENSION(
"smp");
61 LoopFormat loop_format;
74 static void _bind_methods();
78 void create(Format p_format,
bool p_stereo,
int p_length);
80 Format get_format()
const;
81 bool is_stereo()
const;
82 int get_length()
const;
87 void set_mix_rate(
int p_rate);
88 int get_mix_rate()
const;
90 void set_loop_format(LoopFormat p_format);
91 LoopFormat get_loop_format()
const;
93 void set_loop_begin(
int p_pos);
94 int get_loop_begin()
const;
96 void set_loop_end(
int p_pos);
97 int get_loop_end()
const;
99 virtual RID get_rid()
const;
104 VARIANT_ENUM_CAST( Sample::Format );
105 VARIANT_ENUM_CAST( Sample::LoopFormat );
Definition: resource.h:89
Definition: dictionary.h:42