add mp3 import and playback support
This commit is contained in:
parent
ea7dd1be36
commit
704d6de84c
12 changed files with 4014 additions and 0 deletions
26
modules/minimp3/doc_classes/AudioStreamMP3.xml
Normal file
26
modules/minimp3/doc_classes/AudioStreamMP3.xml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="AudioStreamMP3" inherits="AudioStream" version="4.0">
|
||||
<brief_description>
|
||||
MP3 audio stream driver.
|
||||
</brief_description>
|
||||
<description>
|
||||
MP3 audio stream driver.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="data" type="PackedByteArray" setter="set_data" getter="get_data" default="PackedByteArray( )">
|
||||
Contains the audio data in bytes.
|
||||
</member>
|
||||
<member name="loop" type="bool" setter="set_loop" getter="has_loop" default="false">
|
||||
If [code]true[/code], the stream will automatically loop when it reaches the end.
|
||||
</member>
|
||||
<member name="loop_offset" type="float" setter="set_loop_offset" getter="get_loop_offset" default="0.0">
|
||||
Time in seconds at which the stream starts after being looped.
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
||||
Loading…
Add table
Add a link
Reference in a new issue