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 5fd0b5d commit bdbb9ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 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
6 changes: 3 additions & 3 deletions src/lime/_internal/backend/native/NativeCFFI.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
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 bdbb9ab

Please sign in to comment.