|
@@ -80,8 +80,7 @@ class OggData extends Data {
|
|
|
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-#else
|
|
|
+#elseif stb_ogg_sound
|
|
|
|
|
|
private class BytesOutput extends haxe.io.Output {
|
|
|
|
|
@@ -184,4 +183,17 @@ class OggData extends Data {
|
|
|
|
|
|
}
|
|
|
|
|
|
+#else
|
|
|
+
|
|
|
+class OggData extends Data {
|
|
|
+
|
|
|
+ public function new( bytes : haxe.io.Bytes ) {
|
|
|
+ }
|
|
|
+
|
|
|
+ override function decodeBuffer(out:haxe.io.Bytes, outPos:Int, sampleStart:Int, sampleCount:Int) {
|
|
|
+ throw "Ogg support requires -lib stb_ogg_sound";
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
#end
|