From bdbb9ab045760bda505b3a28195155ad757d076a Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Thu, 8 Feb 2024 20:39:08 -0500 Subject: [PATCH] whitespace, and removed unnededed public vars --- project/src/media/openal/OpenALBindings.cpp | 3 +-- src/lime/_internal/backend/native/NativeCFFI.hx | 6 +++--- src/lime/media/OpenALAudioContext.hx | 6 ------ 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/project/src/media/openal/OpenALBindings.cpp b/project/src/media/openal/OpenALBindings.cpp index 93390cf3e..ffdc62a76 100644 --- a/project/src/media/openal/OpenALBindings.cpp +++ b/project/src/media/openal/OpenALBindings.cpp @@ -2118,7 +2118,7 @@ namespace lime { } HL_PRIM varray* HL_NAME(hl_al_get_sourcedv_soft) (HL_CFFIPointer* source, int param, int count) - { + { #ifdef LIME_OPENALSOFT ALuint id = (ALuint)(uintptr_t)source->ptr; varray* result = hl_alloc_array(&hlt_f64, count); @@ -2222,7 +2222,6 @@ namespace lime { } - value lime_al_get_string (int param) { const char* result = alGetString (param); diff --git a/src/lime/_internal/backend/native/NativeCFFI.hx b/src/lime/_internal/backend/native/NativeCFFI.hx index 50db64155..6c4f2a312 100644 --- a/src/lime/_internal/backend/native/NativeCFFI.hx +++ b/src/lime/_internal/backend/native/NativeCFFI.hx @@ -2,14 +2,14 @@ package lime._internal.backend.native; import haxe.Int64; import haxe.io.Bytes; -import lime.graphics.Image; -import lime.graphics.ImageBuffer; import lime.graphics.opengl.GLBuffer; import lime.graphics.opengl.GLFramebuffer; import lime.graphics.opengl.GLProgram; import lime.graphics.opengl.GLRenderbuffer; import lime.graphics.opengl.GLShader; import lime.graphics.opengl.GLTexture; +import lime.graphics.Image; +import lime.graphics.ImageBuffer; import lime.math.Rectangle; import lime.media.openal.ALAuxiliaryEffectSlot; import lime.utils.DataPointer; @@ -19,9 +19,9 @@ import lime.graphics.cairo.CairoGlyph; import lime.graphics.opengl.GL; import lime.math.Matrix3; import lime.math.Vector2; -import lime.media.AudioBuffer; import lime.media.openal.ALContext; import lime.media.openal.ALDevice; +import lime.media.AudioBuffer; import lime.system.DisplayMode; import lime.utils.ArrayBufferView; #end diff --git a/src/lime/media/OpenALAudioContext.hx b/src/lime/media/OpenALAudioContext.hx index 66dc30c8a..a6fdd9b3e 100644 --- a/src/lime/media/OpenALAudioContext.hx +++ b/src/lime/media/OpenALAudioContext.hx @@ -91,12 +91,6 @@ class OpenALAudioContext public var DEFAULT_ALL_DEVICES_SPECIFIER:Int = 0x1012; public var ALL_DEVICES_SPECIFIER:Int = 0x1013; - public var DEVICE_CLOCK_SOFT:Int = 0x1600; - public var DEVICE_LATENCY_SOFT:Int = 0x1601; - public var DEVICE_CLOCK_LATENCY_SOFT:Int = 0x1602; - - public var SEC_OFFSET_LATENCY_SOFT:Int = 0x1201; - public var SEC_OFFSET_CLOCK_SOFT:Int = 0x1203; @:noCompletion private function new() {}