Change how to write/read by stream
This includes such breaking changes as
- Remove
OutStream.write(frameCount, _)
- Remove
InStream.write(frameCount, _)
Use the following instead of the above.
- Add
OutStream.beginWrite(theNumberOf)
- Add
InStream.beginRead(theNumberOf)
SoundIO
A Swift wrapper for libsoundio, a cross-platform real-time audio input and output library.
Requirements
Installation
Example
The following emits a sine wave over the default device using the best backend.
It means as same as libsoundio’s synopsis.
This code is located in
Sources/SoundIODemo/main.swift
. You can run it by usingmake demo
.Notes
You haven’t need to call any
**_destroy
functions because the wrapper calls each of**_destroy
functions indeinit
and destroyed out of scopes properly.TODO
OutStream
Author
Tomochika Hara - thara
License
This project is licensed under the MIT License - see the LICENSE file for details
Acknowledgments