2017-01-24 21:24:39 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-01-24 21:24:39 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-01-24 21:24:39 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2017-02-28 10:51:00 +00:00
|
|
|
namespace Platform {
|
|
|
|
namespace Audio {
|
|
|
|
|
|
|
|
void Init();
|
|
|
|
|
|
|
|
void DeInit();
|
|
|
|
|
|
|
|
} // namespace Audio
|
|
|
|
} // namespace Platform
|
|
|
|
|
|
|
|
// Platform dependent implementations.
|
|
|
|
|
2020-06-13 01:03:23 +00:00
|
|
|
#if defined Q_OS_WINRT || defined Q_OS_WIN
|
|
|
|
#include "platform/win/audio_win.h"
|
|
|
|
#else // Q_OS_WINRT || Q_OS_WIN
|
2017-01-24 21:24:39 +00:00
|
|
|
namespace Platform {
|
|
|
|
namespace Audio {
|
|
|
|
|
|
|
|
inline void Init() {
|
|
|
|
}
|
|
|
|
|
|
|
|
inline void DeInit() {
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace Audio
|
|
|
|
} // namespace Platform
|
2020-06-13 01:03:23 +00:00
|
|
|
#endif // Q_OS_WINRT || Q_OS_WIN
|