56 lines
1.1 KiB
Plaintext
56 lines
1.1 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
|
||
|
|
- 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>
|