resVol isn't shared
This commit is contained in:
parent
b903a4276e
commit
e58fb42d52
3 changed files with 7 additions and 4 deletions
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
class DivPlatformN163: public DivDispatch {
|
||||
struct Channel: public SharedChannelFreq, public SharedChannelVolume<signed char> {
|
||||
signed char resVol;
|
||||
short wave, wavePos, waveLen;
|
||||
unsigned char waveMode;
|
||||
short loadWave, loadPos, loadLen;
|
||||
|
|
@ -43,6 +44,7 @@ class DivPlatformN163: public DivDispatch {
|
|||
Channel():
|
||||
SharedChannelFreq(),
|
||||
SharedChannelVolume<signed char>(15),
|
||||
resVol(15),
|
||||
wave(-1),
|
||||
wavePos(0),
|
||||
waveLen(0),
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
class DivPlatformQSound: public DivDispatch {
|
||||
struct Channel: public SharedChannelFreq, public SharedChannelVolume<int> {
|
||||
int resVol;
|
||||
int sample, wave;
|
||||
int panning;
|
||||
int echo;
|
||||
|
|
@ -38,7 +39,8 @@ class DivPlatformQSound: public DivDispatch {
|
|||
}
|
||||
Channel():
|
||||
SharedChannelFreq(),
|
||||
SharedChannelVolume<int>(4095),
|
||||
SharedChannelVolume<int>(255),
|
||||
resVol(4095),
|
||||
sample(-1),
|
||||
panning(0x10),
|
||||
echo(0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue