| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license | |
| 5 * that can be found in the LICENSE file in the root of the source | |
| 6 * tree. An additional intellectual property rights grant can be found | |
| 7 * in the file PATENTS. All contributing project authors may | |
| 8 * be found in the AUTHORS file in the root of the source tree. | |
| 9 */ | |
| 10 | |
| 11 #include "webrtc/sound/platformsoundsystem.h" | |
| 12 | |
| 13 #include "webrtc/base/common.h" | |
| 14 #if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) | |
| 15 #include "webrtc/sound/linuxsoundsystem.h" | |
| 16 #else | |
| 17 #include "webrtc/sound/nullsoundsystem.h" | |
| 18 #endif | |
| 19 | |
| 20 namespace rtc { | |
| 21 | |
| 22 SoundSystemInterface *CreatePlatformSoundSystem() { | |
| 23 #if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) | |
| 24 return new LinuxSoundSystem(); | |
| 25 #else | |
| 26 ASSERT(false && "Not implemented"); | |
| 27 return new NullSoundSystem(); | |
| 28 #endif | |
| 29 } | |
| 30 | |
| 31 } // namespace rtc | |
| OLD | NEW |