Skip to content

Commit 48d182f

Browse files
committed
Begin reverting acronym casing change
1 parent a1c0f23 commit 48d182f

File tree

716 files changed

+59721
-59519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

716 files changed

+59721
-59519
lines changed

.silktouch/2b50d7d447412fec.stout

220 KB
Binary file not shown.

.silktouch/72b687a9cceac28c.stout

-2 Bytes
Binary file not shown.

.silktouch/82fde6eb3b68e085.stout

0 Bytes
Binary file not shown.

.silktouch/c8c046b328b09d23.stout

0 Bytes
Binary file not shown.

eng/silktouch/openal/alsoft/generate.rsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ _GUID
55
--file
66
openal-soft-al.h
77
--methodClassName
8-
Al
8+
AL
99
--namespace
1010
Silk.NET.OpenAL
1111
--output

eng/silktouch/opengl/glcompat/generate.rsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WIN32_LEAN_AND_MEAN
66
--file
77
opengl-gl.h
88
--methodClassName
9-
Gl
9+
GL
1010
--namespace
1111
Silk.NET.OpenGL
1212
--output

eng/silktouch/opengl/glcore/generate.rsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WIN32_LEAN_AND_MEAN
66
--file
77
opengl-gl.h
88
--methodClassName
9-
Gl
9+
GL
1010
--namespace
1111
Silk.NET.OpenGL
1212
--output

eng/silktouch/opengl/gles1/generate.rsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WIN32_LEAN_AND_MEAN
66
--file
77
opengl-gl.h
88
--methodClassName
9-
Gl
9+
GL
1010
--namespace
1111
Silk.NET.OpenGL
1212
--output

eng/silktouch/opengl/gles2/generate.rsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WIN32_LEAN_AND_MEAN
66
--file
77
opengl-gl.h
88
--methodClassName
9-
Gl
9+
GL
1010
--namespace
1111
Silk.NET.OpenGL
1212
--output

examples/CSharp/OpenAL/Tutorial001.HelloSound/Program.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using NAudio.Wave;
22
using Silk.NET.OpenAL;
33

4-
// NOTE: If you prefer, you can use the static AlContext and Al functions instead of creating an API object!
4+
// NOTE: If you prefer, you can use the static ALContext and AL functions instead of creating an API object!
55
// Learn more: https://dotnet.github.io/Silk.NET/docs/v3/silk.net/static-vs-instance-bindings
6-
var alc = AlContext.Create(); // TODO disposable
6+
var alc = ALContext.Create(); // TODO disposable
77

88
// Open an audio device.
99
var device = alc.OpenDevice("");
@@ -34,12 +34,12 @@ var pname in (IEnumerable<StringPName>)
3434
[StringPName.Vendor, StringPName.Extensions, StringPName.Renderer, StringPName.Version]
3535
)
3636
{
37-
Console.WriteLine($"{pname}: {Al.GetString(pname).ReadToString()}");
37+
Console.WriteLine($"{pname}: {AL.GetString(pname).ReadToString()}");
3838
}
3939

4040
// Create an audio source and a buffer to store the audio data played by that source.
41-
var source = Al.GenSource();
42-
var buffer = Al.GenBuffer();
41+
var source = AL.GenSource();
42+
var buffer = AL.GenBuffer();
4343

4444
// We're using NAudio to read the WAV file into a buffer we can then pass to OpenAL.
4545
// We do have to do a little bit of work to map wavReader.WaveFormat into OpenAL's Format enum though.
@@ -53,27 +53,27 @@ var pname in (IEnumerable<StringPName>)
5353

5454
// Upload the audio data to the audio device.
5555
var format = ConvertFormat(wavReader.WaveFormat);
56-
Al.BufferData(buffer, format, sampleBuffer, sampleBuffer.Length, wavReader.WaveFormat.SampleRate);
57-
Al.ThrowError();
56+
AL.BufferData(buffer, format, sampleBuffer, sampleBuffer.Length, wavReader.WaveFormat.SampleRate);
57+
AL.ThrowError();
5858

5959
// Configure the audio source to loop its audio, and play it!
6060
// TODO this is crap - we should have a boolean overload.
61-
Al.Source(source, (AlEnum)SourceBoolean.Looping, 1);
62-
Al.Source(source, SourceInteger.Buffer, (int)buffer);
63-
Al.SourcePlay(source);
64-
Al.ThrowError();
61+
AL.Source(source, (ALEnum)SourceBoolean.Looping, 1);
62+
AL.Source(source, SourceInteger.Buffer, (int)buffer);
63+
AL.SourcePlay(source);
64+
AL.ThrowError();
6565

6666
Console.WriteLine("Press Enter to Exit...");
6767
Console.ReadLine();
6868

6969
// Stop playing audio.
70-
Al.SourceStop(source);
70+
AL.SourceStop(source);
7171

7272
// Cleanup!
73-
Al.DeleteSource(source);
74-
Al.DeleteBuffer(buffer);
75-
AlContext.DestroyContext(context);
76-
AlContext.CloseDevice(device);
73+
AL.DeleteSource(source);
74+
AL.DeleteBuffer(buffer);
75+
ALContext.DestroyContext(context);
76+
ALContext.CloseDevice(device);
7777
return;
7878

7979
static Format ConvertFormat(WaveFormat format) =>

0 commit comments

Comments
 (0)