You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
Replace Array return types with TypedArray
This commit is contained in:
@@ -94,7 +94,7 @@ public:
|
||||
virtual void start() = 0;
|
||||
virtual int get_mix_rate() const = 0;
|
||||
virtual SpeakerMode get_speaker_mode() const = 0;
|
||||
virtual Array get_device_list();
|
||||
virtual PackedStringArray get_device_list();
|
||||
virtual String get_device();
|
||||
virtual void set_device(String device) {}
|
||||
virtual void lock() = 0;
|
||||
@@ -105,7 +105,7 @@ public:
|
||||
virtual Error capture_stop() { return FAILED; }
|
||||
virtual void capture_set_device(const String &p_name) {}
|
||||
virtual String capture_get_device() { return "Default"; }
|
||||
virtual Array capture_get_device_list(); // TODO: convert this and get_device_list to PackedStringArray
|
||||
virtual PackedStringArray capture_get_device_list();
|
||||
|
||||
virtual float get_latency() { return 0; }
|
||||
|
||||
@@ -419,11 +419,11 @@ public:
|
||||
void set_bus_layout(const Ref<AudioBusLayout> &p_bus_layout);
|
||||
Ref<AudioBusLayout> generate_bus_layout() const;
|
||||
|
||||
Array get_device_list();
|
||||
PackedStringArray get_device_list();
|
||||
String get_device();
|
||||
void set_device(String device);
|
||||
|
||||
Array capture_get_device_list();
|
||||
PackedStringArray capture_get_device_list();
|
||||
String capture_get_device();
|
||||
void capture_set_device(const String &p_name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user