29 #ifndef GIBBERISH_STREAM_H 30 #define GIBBERISH_STREAM_H 33 #include "scene/resources/audio_stream.h" 34 #include "scene/resources/sample_library.h" 49 float pitch_random_scale;
53 _FORCE_INLINE_
int randomize();
68 virtual int get_channel_count()
const;
69 virtual bool mix(int32_t *p_buffer,
int p_frames);
71 static void _bind_methods();
80 virtual bool is_playing()
const;
82 virtual void set_paused(
bool p_paused);
83 virtual bool is_paused(
bool p_paused)
const;
85 virtual void set_loop(
bool p_enable);
86 virtual bool has_loop()
const;
88 virtual float get_length()
const;
90 virtual String get_stream_name()
const;
92 virtual int get_loop_count()
const;
94 virtual float get_pos()
const;
95 virtual void seek_pos(
float p_time);
97 virtual UpdateMode get_update_mode()
const;
98 virtual void update();
100 void set_xfade_time(
float p_xfade);
101 float get_xfade_time()
const;
103 void set_pitch_scale(
float p_scale);
104 float get_pitch_scale()
const;
106 void set_pitch_random_scale(
float p_random_scale);
107 float get_pitch_random_scale()
const;
109 AudioStreamGibberish();
114 #endif // GIBBERISH_STREAM_H
Definition: audio_stream.h:68