Fix unintended renaming

pull/1/head
Darrell Anderson 10 years ago
parent 79c17bd8cd
commit 7394456a58

@ -355,7 +355,7 @@ void PlayerControl::init(const char *corelibpath, const char *pluginslibpath, co
cerr << "CHILD " << m_index << " sz not right in ENABLEEQ, sz=" << sz << endl; cerr << "CHILD " << m_index << " sz not right in ENABLEEQ, sz=" << sz << endl;
} }
break; break;
case UPDATEETQGAINS: case UPDATEEQGAINS:
{ {
int i, n, k; int i, n, k;
@ -369,7 +369,7 @@ void PlayerControl::init(const char *corelibpath, const char *pluginslibpath, co
player->m_preamp = m_preamp; player->m_preamp = m_preamp;
} }
else else
cerr << "CHILD " << m_index << " sz not right in UPDATEETQGAINS, sz=" << sz << endl; cerr << "CHILD " << m_index << " sz not right in UPDATEEQGAINS, sz=" << sz << endl;
if ((unsigned)sz == sizeof(m_preamp) + sizeof(int) + n * sizeof(int)) if ((unsigned)sz == sizeof(m_preamp) + sizeof(int) + n * sizeof(int))
{ {
@ -390,7 +390,7 @@ void PlayerControl::init(const char *corelibpath, const char *pluginslibpath, co
} }
} }
else else
cerr << "CHILD " << m_index << " sz not right in UPDATEETQGAINS, sz=" << sz << endl; cerr << "CHILD " << m_index << " sz not right in UPDATEEQGAINS, sz=" << sz << endl;
} }
} }
break; break;
@ -1079,7 +1079,7 @@ bool PlayerControl::sendupdateeqgains()
memcpy((void *)&buf[ sizeof(m_preamp) + (i+1) * sizeof(int) ], (void *) &bandGain, sizeof(int)); memcpy((void *)&buf[ sizeof(m_preamp) + (i+1) * sizeof(int) ], (void *) &bandGain, sizeof(int));
} }
for ( i = 0; i < (uint) nNumPlayers; i++ ) for ( i = 0; i < (uint) nNumPlayers; i++ )
ok |= sendmessage(m_children[i].m_pipeB[1], UPDATEETQGAINS, buf, sizeof(m_preamp) + (m_equalizerGains.size()+1) * sizeof(int)); ok |= sendmessage(m_children[i].m_pipeB[1], UPDATEEQGAINS, buf, sizeof(m_preamp) + (m_equalizerGains.size()+1) * sizeof(int));
return ok; return ok;
} }

@ -175,7 +175,7 @@ private:
DEVICE, DEVICE,
SETFADE, SETFADE,
ENABLEEQ, ENABLEEQ,
UPDATEETQGAINS, UPDATEEQGAINS,
SCOPEBUF, SCOPEBUF,
SCOPECLEAR, SCOPECLEAR,
METADATAREQ, METADATAREQ,

Loading…
Cancel
Save