| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libjingle | 2 * libjingle |
| 3 * Copyright 2004--2010, Google Inc. | 3 * Copyright 2004--2010, Google Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
| 9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef WEBRTC_AUDIO_DEVICE_ALSASYMBOLTABLE_LINUX_H | 28 #ifndef WEBRTC_AUDIO_DEVICE_ALSASYMBOLTABLE_LINUX_H |
| 29 #define WEBRTC_AUDIO_DEVICE_ALSASYMBOLTABLE_LINUX_H | 29 #define WEBRTC_AUDIO_DEVICE_ALSASYMBOLTABLE_LINUX_H |
| 30 | 30 |
| 31 #include "webrtc/modules/audio_device/linux/latebindingsymboltable_linux.h" | 31 #include "webrtc/modules/audio_device/linux/latebindingsymboltable_linux.h" |
| 32 | 32 |
| 33 namespace webrtc_adm_linux_alsa { | 33 namespace webrtc { |
| 34 namespace adm_linux_alsa { |
| 34 | 35 |
| 35 // The ALSA symbols we need, as an X-Macro list. | 36 // The ALSA symbols we need, as an X-Macro list. |
| 36 // This list must contain precisely every libasound function that is used in | 37 // This list must contain precisely every libasound function that is used in |
| 37 // alsasoundsystem.cc. | 38 // alsasoundsystem.cc. |
| 38 #define ALSA_SYMBOLS_LIST \ | 39 #define ALSA_SYMBOLS_LIST \ |
| 39 X(snd_device_name_free_hint) \ | 40 X(snd_device_name_free_hint) \ |
| 40 X(snd_device_name_get_hint) \ | 41 X(snd_device_name_get_hint) \ |
| 41 X(snd_device_name_hint) \ | 42 X(snd_device_name_hint) \ |
| 42 X(snd_pcm_avail_update) \ | 43 X(snd_pcm_avail_update) \ |
| 43 X(snd_pcm_close) \ | 44 X(snd_pcm_close) \ |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 X(snd_lib_error) \ | 136 X(snd_lib_error) \ |
| 136 X(snd_lib_error_set_handler) | 137 X(snd_lib_error_set_handler) |
| 137 | 138 |
| 138 LATE_BINDING_SYMBOL_TABLE_DECLARE_BEGIN(AlsaSymbolTable) | 139 LATE_BINDING_SYMBOL_TABLE_DECLARE_BEGIN(AlsaSymbolTable) |
| 139 #define X(sym) \ | 140 #define X(sym) \ |
| 140 LATE_BINDING_SYMBOL_TABLE_DECLARE_ENTRY(AlsaSymbolTable, sym) | 141 LATE_BINDING_SYMBOL_TABLE_DECLARE_ENTRY(AlsaSymbolTable, sym) |
| 141 ALSA_SYMBOLS_LIST | 142 ALSA_SYMBOLS_LIST |
| 142 #undef X | 143 #undef X |
| 143 LATE_BINDING_SYMBOL_TABLE_DECLARE_END(AlsaSymbolTable) | 144 LATE_BINDING_SYMBOL_TABLE_DECLARE_END(AlsaSymbolTable) |
| 144 | 145 |
| 145 } // namespace webrtc_adm_linux_alsa | 146 } // namespace adm_linux_alsa |
| 147 } // namespace webrtc |
| 146 | 148 |
| 147 #endif // WEBRTC_AUDIO_DEVICE_ALSASYMBOLTABLE_LINUX_H | 149 #endif // WEBRTC_AUDIO_DEVICE_ALSASYMBOLTABLE_LINUX_H |
| OLD | NEW |