Files
2026-11-14 15:37:01 -06:00

61 lines
1.3 KiB
Plaintext

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
# 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/flacs.sakura
- tests/flac.sakura
- tests/mp3.sakura
- tests/opus.sakura
- tests/mixer.sakura
- tests/effects.sakura
- tests/output.sakura
exports:
- malunal.audio
package:
desc: Sound read from WAV, Ogg Vorbis, FLAC, MP3, and Ogg Opus, mixed, filtered, reverberated, limited, and played, as voices of a mixer a device pulls from, compressed files streamed and sought as they play.
auth: John Christman <sorakatadzuma@gmail.com>