summaryrefslogtreecommitdiffstats
path: root/modules/ogg/register_types.cpp
diff options
context:
space:
mode:
authorEllen Poe <ellenhp@google.com>2021-09-09 18:54:18 -0700
committerEllen Poe <ellenhp@google.com>2021-09-09 19:39:04 -0700
commitf5d9c7b487166562a833fc86363d78468d711070 (patch)
tree3893f6fa0efdf3d657726074a8a1486a6f890742 /modules/ogg/register_types.cpp
parent0d5e13cd805a1aa69c5f395483051d3501bcfcd3 (diff)
downloadredot-engine-f5d9c7b487166562a833fc86363d78468d711070.tar.gz
Replace stb_vorbis with libogg+libvorbis
Diffstat (limited to 'modules/ogg/register_types.cpp')
-rw-r--r--modules/ogg/register_types.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/ogg/register_types.cpp b/modules/ogg/register_types.cpp
index b23ea65378..3448e7063a 100644
--- a/modules/ogg/register_types.cpp
+++ b/modules/ogg/register_types.cpp
@@ -30,8 +30,11 @@
#include "register_types.h"
-// Dummy module as libogg is needed by other modules (vorbis, theora, opus, ...)
+#include "ogg_packet_sequence.h"
-void register_ogg_types() {}
+void register_ogg_types() {
+ GDREGISTER_CLASS(OGGPacketSequence);
+ GDREGISTER_CLASS(OGGPacketSequencePlayback);
+}
void unregister_ogg_types() {}