浏览代码

Document MP3 runtime loading

skyace65 5 月之前
父节点
当前提交
773c2928e2
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      tutorials/io/runtime_file_loading_and_saving.rst

+ 1 - 5
tutorials/io/runtime_file_loading_and_saving.rst

@@ -168,7 +168,7 @@ Example of loading an image and displaying it in a :ref:`class_TextureRect` node
 Audio/video files
 Audio/video files
 -----------------
 -----------------
 
 
-Godot supports loading Ogg Vorbis and WAV audio at runtime. Note that not *all*
+Godot supports loading Ogg Vorbis, MP3, and WAV audio at runtime. Note that not *all*
 files with an ``.ogg`` extension are Ogg Vorbis files. Some may be Ogg Theora
 files with an ``.ogg`` extension are Ogg Vorbis files. Some may be Ogg Theora
 videos, or contain Opus audio within an Ogg container. These files will **not**
 videos, or contain Opus audio within an Ogg container. These files will **not**
 load correctly as audio files in Godot.
 load correctly as audio files in Godot.
@@ -211,10 +211,6 @@ Example of loading an Ogg Theora video file in a :ref:`class_VideoStreamPlayer`
     // before this property is set, so call `Play()` after setting `Stream`.
     // before this property is set, so call `Play()` after setting `Stream`.
     GetNode<VideoStreamPlayer>("VideoStreamPlayer").Play();
     GetNode<VideoStreamPlayer>("VideoStreamPlayer").Play();
 
 
-.. note::
-
-    Godot doesn't support runtime loading of MP3 files yet.
-
 .. _doc_runtime_file_loading_and_saving_3d_scenes:
 .. _doc_runtime_file_loading_and_saving_3d_scenes:
 
 
 3D scenes
 3D scenes