furnace/src/engine/platform/abstract.cpp

195 lines
3.6 KiB
C++
Raw Normal View History

2022-02-15 03:12:20 +00:00
/**
* Furnace Tracker - multi-system chiptune tracker
2023-01-20 00:18:40 +00:00
* Copyright (C) 2021-2023 tildearrow and contributors
2022-02-15 03:12:20 +00:00
*
* 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.
*/
#include "../dispatch.h"
#include "../../ta-log.h"
void DivDispatch::acquire(short** buf, size_t len) {
}
void DivDispatch::fillStream(std::vector<DivDelayedWrite>& stream, int sRate, size_t len) {
}
void DivDispatch::tick(bool sysTick) {
}
2022-01-27 05:29:16 +00:00
void* DivDispatch::getChanState(int chan) {
return NULL;
}
DivMacroInt* DivDispatch::getChanMacroInt(int chan) {
return NULL;
}
DivSamplePos DivDispatch::getSamplePos(int chan) {
return DivSamplePos();
}
DivDispatchOscBuffer* DivDispatch::getOscBuffer(int chan) {
return NULL;
}
unsigned char* DivDispatch::getRegisterPool() {
return NULL;
}
int DivDispatch::getRegisterPoolSize() {
return 0;
}
2022-02-22 09:01:57 +00:00
int DivDispatch::getRegisterPoolDepth() {
return 8;
}
2021-12-18 08:25:42 +00:00
void* DivDispatch::getState() {
return NULL;
}
void DivDispatch::setState(void* state) {
}
void DivDispatch::muteChannel(int ch, bool mute) {
}
int DivDispatch::dispatch(DivCommand c) {
return 1;
}
2021-12-11 08:34:43 +00:00
void DivDispatch::reset() {
}
int DivDispatch::getOutputCount() {
return 1;
}
2021-12-08 05:33:00 +00:00
bool DivDispatch::keyOffAffectsArp(int ch) {
return false;
}
bool DivDispatch::keyOffAffectsPorta(int ch) {
return false;
}
int DivDispatch::getPortaFloor(int ch) {
return 0x00;
}
2022-04-09 23:25:25 +00:00
float DivDispatch::getPostAmp() {
return 1.0f;
}
bool DivDispatch::getDCOffRequired() {
return false;
}
bool DivDispatch::getWantPreNote() {
return false;
}
2022-12-04 11:02:59 +00:00
int DivDispatch::getClockRangeMin() {
return MIN_CUSTOM_CLOCK;
}
2022-12-04 11:02:59 +00:00
int DivDispatch::getClockRangeMax() {
return MAX_CUSTOM_CLOCK;
}
void DivDispatch::setFlags(const DivConfig& flags) {
2021-12-15 22:32:08 +00:00
}
void DivDispatch::setSkipRegisterWrites(bool value) {
skipRegisterWrites=value;
}
2022-01-18 04:59:52 +00:00
void DivDispatch::notifyInsChange(int ins) {
}
2022-01-18 05:25:10 +00:00
void DivDispatch::notifyWaveChange(int ins) {
}
2022-01-13 22:40:29 +00:00
void DivDispatch::notifyInsDeletion(void* ins) {
logE("notifyInsDeletion NOT implemented!");
abort();
2022-01-13 22:40:29 +00:00
}
void DivDispatch::notifyPlaybackStop() {
}
void DivDispatch::forceIns() {
}
2022-01-17 04:21:27 +00:00
void DivDispatch::toggleRegisterDump(bool enable) {
dumpWrites=enable;
}
std::vector<DivRegWrite>& DivDispatch::getRegisterWrites() {
return regWrites;
}
2022-02-01 23:08:19 +00:00
void DivDispatch::poke(unsigned int addr, unsigned short val) {
}
void DivDispatch::poke(std::vector<DivRegWrite>& wlist) {
}
2022-02-03 23:38:57 +00:00
const char** DivDispatch::getRegisterSheet() {
return NULL;
}
const void* DivDispatch::getSampleMem(int index) {
return NULL;
}
size_t DivDispatch::getSampleMemCapacity(int index) {
return 0;
}
2022-11-27 03:11:49 +00:00
const char* DivDispatch::getSampleMemName(int index) {
return NULL;
}
size_t DivDispatch::getSampleMemUsage(int index) {
return 0;
}
bool DivDispatch::isSampleLoaded(int index, int sample) {
2022-11-27 03:11:49 +00:00
printf("you are calling.\n");
return false;
}
void DivDispatch::renderSamples(int sysID) {
}
int DivDispatch::init(DivEngine* p, int channels, int sugRate, const DivConfig& flags) {
return 0;
}
void DivDispatch::quit() {
}
DivDispatch::~DivDispatch() {
2022-01-20 18:48:20 +00:00
}