Skip to content

Commit 7ad7647

Browse files
committed
Remove redundant log
1 parent 4c1b6d6 commit 7ad7647

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎Telegram.Native/Media/AsyncMediaPlayer.cpp‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ namespace winrt::Telegram::Native::Media::implementation
135135
{
136136
bitrate_last_ = static_cast<int64_t>(source.FileSize() / duration * 15.0);
137137
bitrate_estimate_ = static_cast<int64_t>(source.FileSize() / duration * 15.0);
138+
//bitrate_maximum_ = static_cast<int64_t>(source.FileSize() / duration * 60.0);
138139
}
139140
}
140141

@@ -217,8 +218,8 @@ namespace winrt::Telegram::Native::Media::implementation
217218

218219
auto prefetch_size = PrefetchSize(30.0);
219220

220-
std::wstring msg = L"Read callback start " + std::to_wstring(prefetch_size / 1024.0 / 1024.0) + L" MB\n";
221-
OutputDebugString(msg.c_str());
221+
//std::wstring msg = L"Read callback start " + std::to_wstring(prefetch_size / 1024.0 / 1024.0) + L" MB\n";
222+
//OutputDebugString(msg.c_str());
222223

223224
source.ReadCallback(count, prefetch_size, bytesRead);
224225
}
@@ -242,6 +243,7 @@ namespace winrt::Telegram::Native::Media::implementation
242243

243244
private:
244245
std::chrono::steady_clock::time_point bitrate_time_;
246+
//double bitrate_maximum_;
245247
double bitrate_estimate_;
246248
double bitrate_last_;
247249
double bitrate_warmup_;

0 commit comments

Comments
 (0)