native_audio 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/README.md +87 -0
- data/ext/audio/audio.c +354 -0
- data/ext/audio/extconf.rb +17 -0
- data/ext/audio/miniaudio.h +95844 -0
- data/lib/dummy_audio.rb +49 -0
- data/lib/native_audio.rb +65 -50
- metadata +9 -154
- data/assets/include/GL/glew.h +0 -26427
- data/assets/include/GLES2/gl2.h +0 -656
- data/assets/include/GLES2/gl2ext.h +0 -3949
- data/assets/include/GLES2/gl2ext_angle.h +0 -701
- data/assets/include/GLES2/gl2platform.h +0 -27
- data/assets/include/GLES3/gl3.h +0 -1192
- data/assets/include/GLES3/gl31.h +0 -1507
- data/assets/include/GLES3/gl32.h +0 -1808
- data/assets/include/GLES3/gl3platform.h +0 -27
- data/assets/include/KHR/khrplatform.h +0 -290
- data/assets/include/SDL2/SDL.h +0 -233
- data/assets/include/SDL2/SDL_assert.h +0 -326
- data/assets/include/SDL2/SDL_atomic.h +0 -415
- data/assets/include/SDL2/SDL_audio.h +0 -1500
- data/assets/include/SDL2/SDL_bits.h +0 -126
- data/assets/include/SDL2/SDL_blendmode.h +0 -198
- data/assets/include/SDL2/SDL_clipboard.h +0 -141
- data/assets/include/SDL2/SDL_config.h +0 -61
- data/assets/include/SDL2/SDL_config_android.h +0 -194
- data/assets/include/SDL2/SDL_config_emscripten.h +0 -218
- data/assets/include/SDL2/SDL_config_iphoneos.h +0 -217
- data/assets/include/SDL2/SDL_config_macosx.h +0 -277
- data/assets/include/SDL2/SDL_config_minimal.h +0 -95
- data/assets/include/SDL2/SDL_config_ngage.h +0 -89
- data/assets/include/SDL2/SDL_config_os2.h +0 -207
- data/assets/include/SDL2/SDL_config_pandora.h +0 -141
- data/assets/include/SDL2/SDL_config_windows.h +0 -331
- data/assets/include/SDL2/SDL_config_wingdk.h +0 -253
- data/assets/include/SDL2/SDL_config_winrt.h +0 -220
- data/assets/include/SDL2/SDL_config_xbox.h +0 -235
- data/assets/include/SDL2/SDL_copying.h +0 -20
- data/assets/include/SDL2/SDL_cpuinfo.h +0 -594
- data/assets/include/SDL2/SDL_egl.h +0 -2352
- data/assets/include/SDL2/SDL_endian.h +0 -348
- data/assets/include/SDL2/SDL_error.h +0 -163
- data/assets/include/SDL2/SDL_events.h +0 -1166
- data/assets/include/SDL2/SDL_filesystem.h +0 -149
- data/assets/include/SDL2/SDL_gamecontroller.h +0 -1074
- data/assets/include/SDL2/SDL_gesture.h +0 -117
- data/assets/include/SDL2/SDL_guid.h +0 -100
- data/assets/include/SDL2/SDL_haptic.h +0 -1341
- data/assets/include/SDL2/SDL_hidapi.h +0 -451
- data/assets/include/SDL2/SDL_hints.h +0 -2569
- data/assets/include/SDL2/SDL_image.h +0 -2173
- data/assets/include/SDL2/SDL_joystick.h +0 -1066
- data/assets/include/SDL2/SDL_keyboard.h +0 -353
- data/assets/include/SDL2/SDL_keycode.h +0 -358
- data/assets/include/SDL2/SDL_loadso.h +0 -115
- data/assets/include/SDL2/SDL_locale.h +0 -103
- data/assets/include/SDL2/SDL_log.h +0 -404
- data/assets/include/SDL2/SDL_main.h +0 -275
- data/assets/include/SDL2/SDL_messagebox.h +0 -193
- data/assets/include/SDL2/SDL_metal.h +0 -113
- data/assets/include/SDL2/SDL_misc.h +0 -79
- data/assets/include/SDL2/SDL_mixer.h +0 -2784
- data/assets/include/SDL2/SDL_mouse.h +0 -465
- data/assets/include/SDL2/SDL_mutex.h +0 -471
- data/assets/include/SDL2/SDL_name.h +0 -33
- data/assets/include/SDL2/SDL_opengl.h +0 -2132
- data/assets/include/SDL2/SDL_opengl_glext.h +0 -13209
- data/assets/include/SDL2/SDL_opengles.h +0 -39
- data/assets/include/SDL2/SDL_opengles2.h +0 -52
- data/assets/include/SDL2/SDL_opengles2_gl2.h +0 -656
- data/assets/include/SDL2/SDL_opengles2_gl2ext.h +0 -4033
- data/assets/include/SDL2/SDL_opengles2_gl2platform.h +0 -27
- data/assets/include/SDL2/SDL_opengles2_khrplatform.h +0 -311
- data/assets/include/SDL2/SDL_pixels.h +0 -644
- data/assets/include/SDL2/SDL_platform.h +0 -261
- data/assets/include/SDL2/SDL_power.h +0 -88
- data/assets/include/SDL2/SDL_quit.h +0 -58
- data/assets/include/SDL2/SDL_rect.h +0 -376
- data/assets/include/SDL2/SDL_render.h +0 -1919
- data/assets/include/SDL2/SDL_revision.h +0 -6
- data/assets/include/SDL2/SDL_rwops.h +0 -841
- data/assets/include/SDL2/SDL_scancode.h +0 -438
- data/assets/include/SDL2/SDL_sensor.h +0 -322
- data/assets/include/SDL2/SDL_shape.h +0 -155
- data/assets/include/SDL2/SDL_stdinc.h +0 -830
- data/assets/include/SDL2/SDL_surface.h +0 -997
- data/assets/include/SDL2/SDL_system.h +0 -623
- data/assets/include/SDL2/SDL_syswm.h +0 -386
- data/assets/include/SDL2/SDL_test.h +0 -69
- data/assets/include/SDL2/SDL_test_assert.h +0 -105
- data/assets/include/SDL2/SDL_test_common.h +0 -236
- data/assets/include/SDL2/SDL_test_compare.h +0 -69
- data/assets/include/SDL2/SDL_test_crc32.h +0 -124
- data/assets/include/SDL2/SDL_test_font.h +0 -168
- data/assets/include/SDL2/SDL_test_fuzzer.h +0 -386
- data/assets/include/SDL2/SDL_test_harness.h +0 -134
- data/assets/include/SDL2/SDL_test_images.h +0 -78
- data/assets/include/SDL2/SDL_test_log.h +0 -67
- data/assets/include/SDL2/SDL_test_md5.h +0 -129
- data/assets/include/SDL2/SDL_test_memory.h +0 -63
- data/assets/include/SDL2/SDL_test_random.h +0 -115
- data/assets/include/SDL2/SDL_thread.h +0 -464
- data/assets/include/SDL2/SDL_timer.h +0 -222
- data/assets/include/SDL2/SDL_touch.h +0 -150
- data/assets/include/SDL2/SDL_ttf.h +0 -2316
- data/assets/include/SDL2/SDL_types.h +0 -29
- data/assets/include/SDL2/SDL_version.h +0 -204
- data/assets/include/SDL2/SDL_video.h +0 -2150
- data/assets/include/SDL2/SDL_vulkan.h +0 -215
- data/assets/include/SDL2/begin_code.h +0 -187
- data/assets/include/SDL2/close_code.h +0 -40
- data/assets/macos/universal/lib/libFLAC.a +0 -0
- data/assets/macos/universal/lib/libSDL2.a +0 -0
- data/assets/macos/universal/lib/libSDL2_image.a +0 -0
- data/assets/macos/universal/lib/libSDL2_mixer.a +0 -0
- data/assets/macos/universal/lib/libSDL2_ttf.a +0 -0
- data/assets/macos/universal/lib/libmodplug.a +0 -0
- data/assets/macos/universal/lib/libmpg123.a +0 -0
- data/assets/macos/universal/lib/libogg.a +0 -0
- data/assets/macos/universal/lib/libvorbis.a +0 -0
- data/assets/macos/universal/lib/libvorbisfile.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libFLAC.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_mixer.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libglew32.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmodplug.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmpg123.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libogg.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libopus.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libopusfile.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libsndfile.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libssp.a +0 -1
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libstdc++.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libvorbis.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libvorbisfile.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libz.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libzstd.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libFLAC.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libSDL2.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libSDL2_mixer.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libglew32.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libmodplug.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libmpg123.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libogg.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libopus.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libopusfile.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libsndfile.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libssp.a +0 -1
- data/assets/windows/mingw-w64-x86_64/lib/libstdc++.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libvorbis.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libvorbisfile.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libz.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libzstd.a +0 -0
- data/ext/audio.c +0 -80
- data/ext/extconf.h +0 -3
- data/ext/extconf.rb +0 -173
- data/lib/audio.bundle +0 -0
- data/lib/audio.so +0 -0
data/lib/dummy_audio.rb
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Dummy audio backend for CI/testing environments without audio hardware.
|
|
4
|
+
# Has the same interface as the Audio C extension but does nothing.
|
|
5
|
+
module DummyAudio
|
|
6
|
+
@sound_count = 0
|
|
7
|
+
|
|
8
|
+
def self.init
|
|
9
|
+
nil
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def self.load(path)
|
|
13
|
+
id = @sound_count
|
|
14
|
+
@sound_count += 1
|
|
15
|
+
id
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def self.duration(clip)
|
|
19
|
+
5.0
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def self.play(channel, clip)
|
|
23
|
+
channel
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def self.stop(channel)
|
|
27
|
+
nil
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def self.pause(channel)
|
|
31
|
+
nil
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def self.resume(channel)
|
|
35
|
+
nil
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def self.set_volume(channel, volume)
|
|
39
|
+
nil
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def self.set_pitch(channel, pitch)
|
|
43
|
+
nil
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
def self.set_pos(channel, angle, distance)
|
|
47
|
+
nil
|
|
48
|
+
end
|
|
49
|
+
end
|
data/lib/native_audio.rb
CHANGED
|
@@ -1,50 +1,65 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require_relative './audio'
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
def initialize(
|
|
17
|
-
@
|
|
18
|
-
@
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative './audio'
|
|
4
|
+
require_relative './dummy_audio'
|
|
5
|
+
|
|
6
|
+
Audio.init unless ENV['DUMMY_AUDIO_BACKEND'] == 'true'
|
|
7
|
+
|
|
8
|
+
module NativeAudio
|
|
9
|
+
def self.audio_driver
|
|
10
|
+
ENV['DUMMY_AUDIO_BACKEND'] == 'true' ? DummyAudio : Audio
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
class Clip
|
|
14
|
+
attr_reader :clip
|
|
15
|
+
|
|
16
|
+
def initialize(path)
|
|
17
|
+
@path = path
|
|
18
|
+
@clip = NativeAudio.audio_driver.load(path)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def duration
|
|
22
|
+
NativeAudio.audio_driver.duration(@clip)
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
class AudioSource
|
|
27
|
+
def initialize(clip)
|
|
28
|
+
@clip = clip
|
|
29
|
+
@channel = AudioSource.channels.count
|
|
30
|
+
AudioSource.channels << self
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def play
|
|
34
|
+
NativeAudio.audio_driver.play(@channel, @clip.clip)
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def stop
|
|
38
|
+
NativeAudio.audio_driver.stop(@channel)
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def pause
|
|
42
|
+
NativeAudio.audio_driver.pause(@channel)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def resume
|
|
46
|
+
NativeAudio.audio_driver.resume(@channel)
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def set_pos(angle, distance)
|
|
50
|
+
NativeAudio.audio_driver.set_pos(@channel, angle, distance)
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def set_volume(volume)
|
|
54
|
+
NativeAudio.audio_driver.set_volume(@channel, volume)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def set_pitch(pitch)
|
|
58
|
+
NativeAudio.audio_driver.set_pitch(@channel, pitch)
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
def self.channels
|
|
62
|
+
@channels ||= []
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: native_audio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Max Hatfull
|
|
@@ -14,160 +14,15 @@ email:
|
|
|
14
14
|
- max.hatfull@gmail.com
|
|
15
15
|
executables: []
|
|
16
16
|
extensions:
|
|
17
|
-
- ext/extconf.rb
|
|
17
|
+
- ext/audio/extconf.rb
|
|
18
18
|
extra_rdoc_files: []
|
|
19
19
|
files:
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
- assets/include/GLES3/gl31.h
|
|
27
|
-
- assets/include/GLES3/gl32.h
|
|
28
|
-
- assets/include/GLES3/gl3platform.h
|
|
29
|
-
- assets/include/KHR/khrplatform.h
|
|
30
|
-
- assets/include/SDL2/SDL.h
|
|
31
|
-
- assets/include/SDL2/SDL_assert.h
|
|
32
|
-
- assets/include/SDL2/SDL_atomic.h
|
|
33
|
-
- assets/include/SDL2/SDL_audio.h
|
|
34
|
-
- assets/include/SDL2/SDL_bits.h
|
|
35
|
-
- assets/include/SDL2/SDL_blendmode.h
|
|
36
|
-
- assets/include/SDL2/SDL_clipboard.h
|
|
37
|
-
- assets/include/SDL2/SDL_config.h
|
|
38
|
-
- assets/include/SDL2/SDL_config_android.h
|
|
39
|
-
- assets/include/SDL2/SDL_config_emscripten.h
|
|
40
|
-
- assets/include/SDL2/SDL_config_iphoneos.h
|
|
41
|
-
- assets/include/SDL2/SDL_config_macosx.h
|
|
42
|
-
- assets/include/SDL2/SDL_config_minimal.h
|
|
43
|
-
- assets/include/SDL2/SDL_config_ngage.h
|
|
44
|
-
- assets/include/SDL2/SDL_config_os2.h
|
|
45
|
-
- assets/include/SDL2/SDL_config_pandora.h
|
|
46
|
-
- assets/include/SDL2/SDL_config_windows.h
|
|
47
|
-
- assets/include/SDL2/SDL_config_wingdk.h
|
|
48
|
-
- assets/include/SDL2/SDL_config_winrt.h
|
|
49
|
-
- assets/include/SDL2/SDL_config_xbox.h
|
|
50
|
-
- assets/include/SDL2/SDL_copying.h
|
|
51
|
-
- assets/include/SDL2/SDL_cpuinfo.h
|
|
52
|
-
- assets/include/SDL2/SDL_egl.h
|
|
53
|
-
- assets/include/SDL2/SDL_endian.h
|
|
54
|
-
- assets/include/SDL2/SDL_error.h
|
|
55
|
-
- assets/include/SDL2/SDL_events.h
|
|
56
|
-
- assets/include/SDL2/SDL_filesystem.h
|
|
57
|
-
- assets/include/SDL2/SDL_gamecontroller.h
|
|
58
|
-
- assets/include/SDL2/SDL_gesture.h
|
|
59
|
-
- assets/include/SDL2/SDL_guid.h
|
|
60
|
-
- assets/include/SDL2/SDL_haptic.h
|
|
61
|
-
- assets/include/SDL2/SDL_hidapi.h
|
|
62
|
-
- assets/include/SDL2/SDL_hints.h
|
|
63
|
-
- assets/include/SDL2/SDL_image.h
|
|
64
|
-
- assets/include/SDL2/SDL_joystick.h
|
|
65
|
-
- assets/include/SDL2/SDL_keyboard.h
|
|
66
|
-
- assets/include/SDL2/SDL_keycode.h
|
|
67
|
-
- assets/include/SDL2/SDL_loadso.h
|
|
68
|
-
- assets/include/SDL2/SDL_locale.h
|
|
69
|
-
- assets/include/SDL2/SDL_log.h
|
|
70
|
-
- assets/include/SDL2/SDL_main.h
|
|
71
|
-
- assets/include/SDL2/SDL_messagebox.h
|
|
72
|
-
- assets/include/SDL2/SDL_metal.h
|
|
73
|
-
- assets/include/SDL2/SDL_misc.h
|
|
74
|
-
- assets/include/SDL2/SDL_mixer.h
|
|
75
|
-
- assets/include/SDL2/SDL_mouse.h
|
|
76
|
-
- assets/include/SDL2/SDL_mutex.h
|
|
77
|
-
- assets/include/SDL2/SDL_name.h
|
|
78
|
-
- assets/include/SDL2/SDL_opengl.h
|
|
79
|
-
- assets/include/SDL2/SDL_opengl_glext.h
|
|
80
|
-
- assets/include/SDL2/SDL_opengles.h
|
|
81
|
-
- assets/include/SDL2/SDL_opengles2.h
|
|
82
|
-
- assets/include/SDL2/SDL_opengles2_gl2.h
|
|
83
|
-
- assets/include/SDL2/SDL_opengles2_gl2ext.h
|
|
84
|
-
- assets/include/SDL2/SDL_opengles2_gl2platform.h
|
|
85
|
-
- assets/include/SDL2/SDL_opengles2_khrplatform.h
|
|
86
|
-
- assets/include/SDL2/SDL_pixels.h
|
|
87
|
-
- assets/include/SDL2/SDL_platform.h
|
|
88
|
-
- assets/include/SDL2/SDL_power.h
|
|
89
|
-
- assets/include/SDL2/SDL_quit.h
|
|
90
|
-
- assets/include/SDL2/SDL_rect.h
|
|
91
|
-
- assets/include/SDL2/SDL_render.h
|
|
92
|
-
- assets/include/SDL2/SDL_revision.h
|
|
93
|
-
- assets/include/SDL2/SDL_rwops.h
|
|
94
|
-
- assets/include/SDL2/SDL_scancode.h
|
|
95
|
-
- assets/include/SDL2/SDL_sensor.h
|
|
96
|
-
- assets/include/SDL2/SDL_shape.h
|
|
97
|
-
- assets/include/SDL2/SDL_stdinc.h
|
|
98
|
-
- assets/include/SDL2/SDL_surface.h
|
|
99
|
-
- assets/include/SDL2/SDL_system.h
|
|
100
|
-
- assets/include/SDL2/SDL_syswm.h
|
|
101
|
-
- assets/include/SDL2/SDL_test.h
|
|
102
|
-
- assets/include/SDL2/SDL_test_assert.h
|
|
103
|
-
- assets/include/SDL2/SDL_test_common.h
|
|
104
|
-
- assets/include/SDL2/SDL_test_compare.h
|
|
105
|
-
- assets/include/SDL2/SDL_test_crc32.h
|
|
106
|
-
- assets/include/SDL2/SDL_test_font.h
|
|
107
|
-
- assets/include/SDL2/SDL_test_fuzzer.h
|
|
108
|
-
- assets/include/SDL2/SDL_test_harness.h
|
|
109
|
-
- assets/include/SDL2/SDL_test_images.h
|
|
110
|
-
- assets/include/SDL2/SDL_test_log.h
|
|
111
|
-
- assets/include/SDL2/SDL_test_md5.h
|
|
112
|
-
- assets/include/SDL2/SDL_test_memory.h
|
|
113
|
-
- assets/include/SDL2/SDL_test_random.h
|
|
114
|
-
- assets/include/SDL2/SDL_thread.h
|
|
115
|
-
- assets/include/SDL2/SDL_timer.h
|
|
116
|
-
- assets/include/SDL2/SDL_touch.h
|
|
117
|
-
- assets/include/SDL2/SDL_ttf.h
|
|
118
|
-
- assets/include/SDL2/SDL_types.h
|
|
119
|
-
- assets/include/SDL2/SDL_version.h
|
|
120
|
-
- assets/include/SDL2/SDL_video.h
|
|
121
|
-
- assets/include/SDL2/SDL_vulkan.h
|
|
122
|
-
- assets/include/SDL2/begin_code.h
|
|
123
|
-
- assets/include/SDL2/close_code.h
|
|
124
|
-
- assets/macos/universal/lib/libFLAC.a
|
|
125
|
-
- assets/macos/universal/lib/libSDL2.a
|
|
126
|
-
- assets/macos/universal/lib/libSDL2_image.a
|
|
127
|
-
- assets/macos/universal/lib/libSDL2_mixer.a
|
|
128
|
-
- assets/macos/universal/lib/libSDL2_ttf.a
|
|
129
|
-
- assets/macos/universal/lib/libmodplug.a
|
|
130
|
-
- assets/macos/universal/lib/libmpg123.a
|
|
131
|
-
- assets/macos/universal/lib/libogg.a
|
|
132
|
-
- assets/macos/universal/lib/libvorbis.a
|
|
133
|
-
- assets/macos/universal/lib/libvorbisfile.a
|
|
134
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libFLAC.a
|
|
135
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2.a
|
|
136
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_mixer.a
|
|
137
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libglew32.a
|
|
138
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libmodplug.a
|
|
139
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libmpg123.a
|
|
140
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libogg.a
|
|
141
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libopus.a
|
|
142
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libopusfile.a
|
|
143
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libsndfile.a
|
|
144
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libssp.a
|
|
145
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libstdc++.a
|
|
146
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libvorbis.a
|
|
147
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libvorbisfile.a
|
|
148
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libz.a
|
|
149
|
-
- assets/windows/mingw-w64-ucrt-x86_64/lib/libzstd.a
|
|
150
|
-
- assets/windows/mingw-w64-x86_64/lib/libFLAC.a
|
|
151
|
-
- assets/windows/mingw-w64-x86_64/lib/libSDL2.a
|
|
152
|
-
- assets/windows/mingw-w64-x86_64/lib/libSDL2_mixer.a
|
|
153
|
-
- assets/windows/mingw-w64-x86_64/lib/libglew32.a
|
|
154
|
-
- assets/windows/mingw-w64-x86_64/lib/libmodplug.a
|
|
155
|
-
- assets/windows/mingw-w64-x86_64/lib/libmpg123.a
|
|
156
|
-
- assets/windows/mingw-w64-x86_64/lib/libogg.a
|
|
157
|
-
- assets/windows/mingw-w64-x86_64/lib/libopus.a
|
|
158
|
-
- assets/windows/mingw-w64-x86_64/lib/libopusfile.a
|
|
159
|
-
- assets/windows/mingw-w64-x86_64/lib/libsndfile.a
|
|
160
|
-
- assets/windows/mingw-w64-x86_64/lib/libssp.a
|
|
161
|
-
- assets/windows/mingw-w64-x86_64/lib/libstdc++.a
|
|
162
|
-
- assets/windows/mingw-w64-x86_64/lib/libvorbis.a
|
|
163
|
-
- assets/windows/mingw-w64-x86_64/lib/libvorbisfile.a
|
|
164
|
-
- assets/windows/mingw-w64-x86_64/lib/libz.a
|
|
165
|
-
- assets/windows/mingw-w64-x86_64/lib/libzstd.a
|
|
166
|
-
- ext/audio.c
|
|
167
|
-
- ext/extconf.h
|
|
168
|
-
- ext/extconf.rb
|
|
169
|
-
- lib/audio.bundle
|
|
170
|
-
- lib/audio.so
|
|
20
|
+
- LICENSE
|
|
21
|
+
- README.md
|
|
22
|
+
- ext/audio/audio.c
|
|
23
|
+
- ext/audio/extconf.rb
|
|
24
|
+
- ext/audio/miniaudio.h
|
|
25
|
+
- lib/dummy_audio.rb
|
|
171
26
|
- lib/native_audio.rb
|
|
172
27
|
homepage: https://github.com/rubyrpg/native_audio
|
|
173
28
|
licenses:
|
|
@@ -187,7 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
187
42
|
- !ruby/object:Gem::Version
|
|
188
43
|
version: '0'
|
|
189
44
|
requirements: []
|
|
190
|
-
rubygems_version:
|
|
45
|
+
rubygems_version: 4.0.3
|
|
191
46
|
specification_version: 4
|
|
192
47
|
summary: A simple audio library for Ruby
|
|
193
48
|
test_files: []
|