mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix planar audio playback (for example .flac).
Also add some more crash information logging. Fixes #4120.
This commit is contained in:
@@ -1139,6 +1139,9 @@ namespace internal {
|
||||
}
|
||||
|
||||
void setCrashAnnotation(const std::string &key, const QString &value) {
|
||||
static QMutex mutex;
|
||||
QMutexLocker lock(&mutex);
|
||||
|
||||
if (!value.trimmed().isEmpty()) {
|
||||
internal::ProcessAnnotations[key] = value.toUtf8().constData();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user