Add metadata tags to WAV and OGG audio streams

This commit is contained in:
Capry
2024-11-21 18:32:47 +01:00
parent 2cde9292c3
commit 20c0a0b489
9 changed files with 153 additions and 0 deletions

View File

@@ -51,6 +51,13 @@
Override this method to customize the name assigned to this audio stream. Unused by the engine.
</description>
</method>
<method name="_get_tags" qualifiers="virtual const">
<return type="Dictionary" />
<description>
Override this method to customize the tags for this audio stream. Should return a [Dictionary] of strings with the tag as the key and its content as the value.
Commonly used tags include [code]title[/code], [code]artist[/code], [code]album[/code], [code]tracknumber[/code], and [code]date[/code].
</description>
</method>
<method name="_has_loop" qualifiers="virtual const">
<return type="bool" />
<description>