2022-02-14 22:12:20 -05:00
|
|
|
/**
|
|
|
|
* Furnace Tracker - multi-system chiptune tracker
|
|
|
|
* Copyright (C) 2021-2022 tildearrow and contributors
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
2021-05-12 04:58:55 -04:00
|
|
|
#include "../dispatch.h"
|
|
|
|
|
2021-12-06 16:51:18 -05:00
|
|
|
void DivDispatch::acquire(short* bufL, short* bufR, size_t start, size_t len) {
|
2021-05-12 04:58:55 -04:00
|
|
|
}
|
|
|
|
|
2022-04-15 16:01:11 -04:00
|
|
|
void DivDispatch::tick(bool sysTick) {
|
2021-05-12 06:22:01 -04:00
|
|
|
}
|
|
|
|
|
2022-01-27 00:29:16 -05:00
|
|
|
void* DivDispatch::getChanState(int chan) {
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2022-04-26 16:24:45 -04:00
|
|
|
DivMacroInt* DivDispatch::getChanMacroInt(int chan) {
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2022-04-30 04:58:30 -04:00
|
|
|
DivDispatchOscBuffer* DivDispatch::getOscBuffer(int chan) {
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2022-02-21 22:31:27 -05:00
|
|
|
unsigned char* DivDispatch::getRegisterPool() {
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
int DivDispatch::getRegisterPoolSize() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2022-02-22 04:01:57 -05:00
|
|
|
int DivDispatch::getRegisterPoolDepth() {
|
|
|
|
return 8;
|
|
|
|
}
|
|
|
|
|
2021-12-18 03:25:42 -05:00
|
|
|
void* DivDispatch::getState() {
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
void DivDispatch::setState(void* state) {
|
|
|
|
}
|
|
|
|
|
|
|
|
void DivDispatch::muteChannel(int ch, bool mute) {
|
|
|
|
}
|
|
|
|
|
2021-05-12 04:58:55 -04:00
|
|
|
int DivDispatch::dispatch(DivCommand c) {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
2021-12-11 03:34:43 -05:00
|
|
|
void DivDispatch::reset() {
|
|
|
|
}
|
|
|
|
|
2021-12-06 16:51:18 -05:00
|
|
|
bool DivDispatch::isStereo() {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2021-12-08 00:33:00 -05:00
|
|
|
bool DivDispatch::keyOffAffectsArp(int ch) {
|
2021-12-07 01:23:57 -05:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2021-12-29 02:08:50 -05:00
|
|
|
bool DivDispatch::keyOffAffectsPorta(int ch) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
int DivDispatch::getPortaFloor(int ch) {
|
|
|
|
return 0x00;
|
|
|
|
}
|
|
|
|
|
2022-04-09 19:25:25 -04:00
|
|
|
float DivDispatch::getPostAmp() {
|
|
|
|
return 1.0f;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool DivDispatch::getDCOffRequired() {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2022-08-03 17:21:30 -04:00
|
|
|
bool DivDispatch::getWantPreNote() {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2022-01-28 12:59:53 -05:00
|
|
|
void DivDispatch::setFlags(unsigned int flags) {
|
2021-12-15 17:32:08 -05:00
|
|
|
}
|
|
|
|
|
2021-12-21 01:29:07 -05:00
|
|
|
void DivDispatch::setSkipRegisterWrites(bool value) {
|
|
|
|
skipRegisterWrites=value;
|
|
|
|
}
|
|
|
|
|
2022-01-17 23:59:52 -05:00
|
|
|
void DivDispatch::notifyInsChange(int ins) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2022-01-18 00:25:10 -05:00
|
|
|
void DivDispatch::notifyWaveChange(int ins) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2022-01-13 17:40:29 -05:00
|
|
|
void DivDispatch::notifyInsDeletion(void* ins) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2022-03-07 01:48:48 -05:00
|
|
|
void DivDispatch::notifyPlaybackStop() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-12-21 01:29:07 -05:00
|
|
|
void DivDispatch::forceIns() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2022-01-16 23:21:27 -05:00
|
|
|
void DivDispatch::toggleRegisterDump(bool enable) {
|
|
|
|
dumpWrites=enable;
|
|
|
|
}
|
|
|
|
|
|
|
|
std::vector<DivRegWrite>& DivDispatch::getRegisterWrites() {
|
|
|
|
return regWrites;
|
|
|
|
}
|
|
|
|
|
2022-02-01 18:08:19 -05:00
|
|
|
void DivDispatch::poke(unsigned int addr, unsigned short val) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void DivDispatch::poke(std::vector<DivRegWrite>& wlist) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2022-02-03 18:38:57 -05:00
|
|
|
const char** DivDispatch::getRegisterSheet() {
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
2022-05-01 13:57:44 -04:00
|
|
|
const void* DivDispatch::getSampleMem(int index) {
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
size_t DivDispatch::getSampleMemCapacity(int index) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
size_t DivDispatch::getSampleMemUsage(int index) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void DivDispatch::renderSamples() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2022-01-28 12:59:53 -05:00
|
|
|
int DivDispatch::init(DivEngine* p, int channels, int sugRate, unsigned int flags) {
|
2021-05-12 04:58:55 -04:00
|
|
|
return 0;
|
2021-05-12 06:22:01 -04:00
|
|
|
}
|
2021-12-15 00:37:27 -05:00
|
|
|
|
|
|
|
void DivDispatch::quit() {
|
|
|
|
}
|
|
|
|
|
|
|
|
DivDispatch::~DivDispatch() {
|
2022-01-20 13:48:20 -05:00
|
|
|
}
|