
(MSM6258, MSM6295, QSound, Sega PCM, ADPCM-A, ADPCM-B, YMZ280B, RF5C68) Instrument color and icons are placeholder. different volume range, hard panned/soft panned and/or independent volume per output, chip-dependent features (global volume, echo, etc) Allow use sample in instrument tab for chip with sample support Prepare to support X1-010 Seta 2 style bankswitch behavior Prepare to support AY89x0 PCM DAC Support volume for PCE sample (DAC) Fix Lynx, Y8950 sample pitch matches to sample preview Support PCM DAC with backward and pingpong loop mode Reduce some codes Add Sega PCM, AY89x0, QSound, PCM DAC, Lynx per-channel debug support
40 lines
1.4 KiB
C++
40 lines
1.4 KiB
C++
/**
|
|
* 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.
|
|
*/
|
|
|
|
#include "intConst.h"
|
|
|
|
const int _ZERO=0;
|
|
const int _ONE=1;
|
|
const int _THREE=3;
|
|
const int _SEVEN=7;
|
|
const int _TEN=10;
|
|
const int _FIFTEEN=15;
|
|
const int _SIXTEEN=16;
|
|
const int _THIRTY_ONE=31;
|
|
const int _SIXTY_FOUR=64;
|
|
const int _ONE_HUNDRED=100;
|
|
const int _ONE_HUNDRED_TWENTY_SEVEN=127;
|
|
const int _TWO_HUNDRED_FIFTY_FIVE=255;
|
|
const int _FIVE_HUNDRED_ELEVEN=511;
|
|
const int _TWO_THOUSAND_FORTY_SEVEN=2047;
|
|
const int _FOUR_THOUSAND_NINETY_FIVE=4095;
|
|
const int _SIXTY_FIVE_THOUSAND_FIVE_HUNDRED_THIRTY_FIVE=65535;
|
|
const int _MINUS_ONE_HUNDRED_TWENTY_SEVEN=-127;
|
|
const int _MINUS_ONE_HUNDRED_TWENTY_EIGHT=-128;
|