Esempio n. 1
0
File: out.go Progetto: go-mix/mix
func ConfigureOutput(s spec.AudioSpec) {
	go func() {
		for {
			sample.OutNextBytes()
		}
	}()
	// nothing to do
}
Esempio n. 2
0
File: writer.go Progetto: go-mix/mix
func OutputNext(numSamples spec.Tz) (err error) {
	for n := spec.Tz(0); n < numSamples; n++ {
		writer.Write(sample.OutNextBytes())
	}
	return
}