Simple Skyfall Audio System for Linux
ASF needs libasound.
ASF builing as shared library.
cd ASF
mkdir bin obj
make -j4
sudo make install
sudo make uninstall
g++ -std=c++17 hello.cpp -o hello -lstdc++fs -lasf
#include <iostream>
#include <skyfall/ASF/AudioContext.h>
#include <skyfall/ASF/WAVFile.h>
int main(int argc, char **argv) {
skyfall::asf::AudioContext context; //creating one context for all audio files
skyfall::asf::WAVFile file("hello.wav");
context.play(&file);
}
Done:
- Context
- Support WAV files
Working on:
- Support MP3 files
- Multithreading
- Stop and play ability