Initial Commit

This commit is contained in:
SoraKatadzuma committed 2026-10-30 16:12:42 -05:00
commit f8f6ef453d
36 files changed
+4431

No files matched your search

+56
View File
@@ -0,0 +1,56 @@
name: audio
gpid: malunal
semv: 1.0.0
options:
level: 2
requires:
- https://git.malunal.studio/sakura/std@v1.0.0
targets:
- name: malunal.audio
type: library
root: ./audio
deps:
- std.containers
- std.io
- std.math
- std.thread
- std.time
# Times decoding each format and mixing voices; see its header.
- name: malunal.audio.bench
type: program
level: ${level}
deps:
- malunal.audio
- std.io
- std.time
srcs:
- tools/bench.sakura
tests:
# Those of `output.sakura` open the default device where there is one, and
# pass without one.
- name: malunal.audio.tests
type: program
deps: [malunal.audio, std.io, std.math, std.testing, std.time]
srcs:
- tests/main.sakura
- tests/support.sakura
- tests/pages.sakura
- tests/spec.sakura
- tests/streams.sakura
- tests/sounds.sakura
- tests/wav.sakura
- tests/vorbis.sakura
- tests/mixer.sakura
- tests/output.sakura
exports:
- malunal.audio
package:
desc: Sound read from WAV and Ogg Vorbis, mixed, and played, as voices of a mixer an output device pulls from, Ogg Vorbis streamed as it plays.
auth: John Christman <sorakatadzuma@gmail.com>