1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Don't use to_string()

This commit is contained in:
cc9cii 2014-09-12 10:04:46 +10:00
parent ecd9dd81ea
commit be74db8b24

View File

@ -345,8 +345,8 @@ void FFmpeg_Decoder::getInfo(int *samplerate, ChannelConfig *chans, SampleType *
{
// FIXME: debug output
//#if 0
std::cout << "channel_layout: " + std::to_string((*mStream)->codec->channel_layout) << std::endl;
std::cout << "in_channels: " + std::to_string((*mStream)->codec->channels) << std::endl;
printf("channel_layout: %" PRIu64 "\n",(*mStream)->codec->channel_layout);
printf("in_channels: %d\n",(*mStream)->codec->channels);
//#endif
mSwr = swr_alloc_set_opts(mSwr, // SwrContext
(*mStream)->codec->channel_layout, // output ch layout