From 837adb30fd92406c266b9a7ac2a652db2e38cfcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 20 Jan 2020 13:11:47 +0100 Subject: Revert "Exposes capture methods to AudioServer + documentation" #30468 Reverts the following commits: - c81ec6f26d40b70283958a4ef3e216fb32cbaf14: "Exposes capture methods to AudioServer, variable renames for consistency, added documentation." - 47c558b98abf842910c780294314326662410cdf: "Expose audio callbacks as signals." - dabaa11b3c451e9b8f2cca7e563bd9ec51edb169: "Fix to make sure the capture buffers are deallocated at shutdown. Silences warnings." Some documentation improvements were kept for pre-existing methods. See rationale for reverting these changes in #30468. --- doc/classes/AudioServer.xml | 53 ++++++++++----------------------------------- 1 file changed, 11 insertions(+), 42 deletions(-) (limited to 'doc/classes/AudioServer.xml') diff --git a/doc/classes/AudioServer.xml b/doc/classes/AudioServer.xml index 2d3ceebed5..71e78500af 100644 --- a/doc/classes/AudioServer.xml +++ b/doc/classes/AudioServer.xml @@ -32,25 +32,26 @@ Adds an [AudioEffect] effect to the bus [code]bus_idx[/code] at [code]at_position[/code]. - - + + - Returns the names of all audio input devices detected on the system. + Name of the current device for audio input (see [method capture_get_device_list]). - - + + - Attempts to start recording from the audio driver's capture device. On success, the return value is [constant OK]. + Returns the names of all audio input devices detected on the system. - - + + + + - Attempts to stop recording from the audio driver's capture device. On success, the return value is [constant OK]. @@ -159,32 +160,11 @@ Returns the volume of the bus at index [code]bus_idx[/code] in dB. - - - - - Returns an [PoolIntArray] containing audio frames from the capture device. - - - - - - - Returns the write position of the capture device buffer. - - - - - - - Returns the size of the capture device buffer. - - - Returns the names of all audio output devices detected on the system. + Returns the names of all audio devices detected on the system. @@ -409,9 +389,6 @@ Number of available audio buses. - - Name of the current device for audio input (see [method capture_get_device_list]). - Name of the current device for audio output (see [method get_device_list]). @@ -420,14 +397,6 @@ - - - - - - - - Emitted when the [AudioBusLayout] changes. -- cgit v1.2.3