summaryrefslogtreecommitdiffstats
path: root/Telegram/SourceFiles/platform/platform_audio.h
blob: 6ec8ec6ddf264a69e4529b4790ed31571174156e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.

For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once

namespace Platform {
namespace Audio {

void Init();

void DeInit();

} // namespace Audio
} // namespace Platform

// Platform dependent implementations.

#if defined Q_OS_WINRT || defined Q_OS_WIN
#include "platform/win/audio_win.h"
#else // Q_OS_WINRT || Q_OS_WIN
namespace Platform {
namespace Audio {

inline void Init() {
}

inline void DeInit() {
}

} // namespace Audio
} // namespace Platform
#endif // Q_OS_WINRT || Q_OS_WIN