Skip to content

Commit

Permalink
whitespace, and removed unnededed public vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Feb 9, 2024
1 parent a1db3b3 commit 817116c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
3 changes: 1 addition & 2 deletions project/src/media/openal/OpenALBindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -2222,7 +2222,6 @@ namespace lime {
}



value lime_al_get_string (int param) {

const char* result = alGetString (param);
Expand Down
4 changes: 2 additions & 2 deletions src/lime/_internal/backend/native/NativeAudioSource.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package lime._internal.backend.native;
import haxe.Int64;
import haxe.Timer;
import lime.math.Vector4;
import lime.media.AudioManager;
import lime.media.AudioSource;
import lime.media.openal.AL;
import lime.media.openal.ALBuffer;
import lime.media.openal.ALSource;
import lime.media.vorbis.VorbisFile;
import lime.media.AudioManager;
import lime.media.AudioSource;
import lime.utils.UInt8Array;

#if !lime_debug
Expand Down
6 changes: 3 additions & 3 deletions src/lime/_internal/backend/native/NativeCFFI.hx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package lime._internal.backend.native;

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;
Expand All @@ -18,9 +18,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
Expand Down
6 changes: 0 additions & 6 deletions src/lime/media/OpenALAudioContext.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}

Expand Down

0 comments on commit 817116c

Please sign in to comment.