[doc] Use "param" instead of "code" to refer to parameters (8)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<return type="bool" />
|
||||
<param index="0" name="frames" type="int" />
|
||||
<description>
|
||||
Returns [code]true[/code] if at least [code]frames[/code] audio frames are available to read in the internal ring buffer.
|
||||
Returns [code]true[/code] if at least [param frames] audio frames are available to read in the internal ring buffer.
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear_buffer">
|
||||
@@ -28,8 +28,8 @@
|
||||
<return type="PackedVector2Array" />
|
||||
<param index="0" name="frames" type="int" />
|
||||
<description>
|
||||
Gets the next [code]frames[/code] audio samples from the internal ring buffer.
|
||||
Returns a [PackedVector2Array] containing exactly [code]frames[/code] audio samples if available, or an empty [PackedVector2Array] if insufficient data was available.
|
||||
Gets the next [param frames] audio samples from the internal ring buffer.
|
||||
Returns a [PackedVector2Array] containing exactly [param frames] audio samples if available, or an empty [PackedVector2Array] if insufficient data was available.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_buffer_length_frames" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user