Changeset 361 for xmms-musepack/branches/r2d/src/libmpc.cpp
- Timestamp:
- 10/21/07 14:29:34 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xmms-musepack/branches/r2d/src/libmpc.cpp
r313 r361 850 850 if (info.bits == -1) return -1; // end of stream 851 851 852 copyBuffer(sampleBuffer, xmmsBuffer, info.samples );852 copyBuffer(sampleBuffer, xmmsBuffer, info.samples * track.channels); 853 853 854 854 if (pluginConfig.dynamicBitrate) … … 862 862 } 863 863 864 MpcPlugin.add_vis_pcm(MpcPlugin.output->written_time(), FMT_S16_LE, track.channels, info.samples * 4, xmmsBuffer);865 MpcPlugin.output->write_audio(xmmsBuffer, info.samples * 4);864 MpcPlugin.add_vis_pcm(MpcPlugin.output->written_time(), FMT_S16_LE, track.channels, info.samples * 2 * track.channels, xmmsBuffer); 865 MpcPlugin.output->write_audio(xmmsBuffer, info.samples * 2 * track.channels); 866 866 return info.samples; 867 867 }
Note: See TracChangeset
for help on using the changeset viewer.