unused sample
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@460 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5af15b6fd3
commit
0882a71e56
|
@ -61,7 +61,6 @@ void Mixer(short *buffer, int numSamples, int bits, int rate, int channels)
|
||||||
int count = 0;
|
int count = 0;
|
||||||
while (sample_queue.size() && count < numSamples * 2) {
|
while (sample_queue.size() && count < numSamples * 2) {
|
||||||
int x = buffer[count];
|
int x = buffer[count];
|
||||||
short sample = sample_queue.front();
|
|
||||||
x += sample_queue.front();
|
x += sample_queue.front();
|
||||||
if (x > 32767) x = 32767;
|
if (x > 32767) x = 32767;
|
||||||
if (x < -32767) x = -32767;
|
if (x < -32767) x = -32767;
|
||||||
|
|
Loading…
Reference in New Issue