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:
parent
ecd9dd81ea
commit
be74db8b24
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user