Revision 00e07679 audio/spiceaudio.c
b/audio/spiceaudio.c | ||
---|---|---|
268 | 268 |
len[1] = 0; |
269 | 269 |
} |
270 | 270 |
|
271 |
hw->conv (hw->conv_buf + hw->wpos, samples, len[0], &nominal_volume);
|
|
271 |
hw->conv (hw->conv_buf + hw->wpos, samples, len[0]); |
|
272 | 272 |
|
273 | 273 |
if (len[1]) { |
274 |
hw->conv (hw->conv_buf, samples + len[0], len[1], |
|
275 |
&nominal_volume); |
|
274 |
hw->conv (hw->conv_buf, samples + len[0], len[1]); |
|
276 | 275 |
} |
277 | 276 |
|
278 | 277 |
hw->wpos = (hw->wpos + num_samples) % hw->samples; |
Also available in: Unified diff