initial commit
took me a day to make the base... ...and ~12 hours to write a reader that reads 100% of all demo songs in 1.0
This commit is contained in:
commit
783d56c72a
26 changed files with 1660 additions and 0 deletions
30
src/audio/abstract.cpp
Normal file
30
src/audio/abstract.cpp
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
#include "taAudio.h"
|
||||
|
||||
void TAAudio::setSampleRateChangeCallback(void (*callback)(SampleRateChangeEvent)) {
|
||||
sampleRateChanged=callback;
|
||||
}
|
||||
|
||||
void TAAudio::setBufferSizeChangeCallback(void (*callback)(BufferSizeChangeEvent)) {
|
||||
bufferSizeChanged=callback;
|
||||
}
|
||||
|
||||
void TAAudio::setCallback(void (*callback)(float**,float**,int,int,unsigned int)) {
|
||||
audioProcCallback=callback;
|
||||
}
|
||||
|
||||
void* TAAudio::getContext() {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool TAAudio::quit() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TAAudio::setRun(bool run) {
|
||||
running=run;
|
||||
return running;
|
||||
}
|
||||
|
||||
bool TAAudio::init(TAAudioDesc& request, TAAudioDesc& response) {
|
||||
return false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue