| 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_PULSEAUDIOSYMBOLTABLE_LINUX_H | 28 #ifndef WEBRTC_AUDIO_DEVICE_PULSEAUDIOSYMBOLTABLE_LINUX_H |
| 29 #define WEBRTC_AUDIO_DEVICE_PULSEAUDIOSYMBOLTABLE_LINUX_H | 29 #define WEBRTC_AUDIO_DEVICE_PULSEAUDIOSYMBOLTABLE_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_pulse { | 33 namespace webrtc { |
| 34 namespace adm_linux_pulse { |
| 34 | 35 |
| 35 // The PulseAudio symbols we need, as an X-Macro list. | 36 // The PulseAudio symbols we need, as an X-Macro list. |
| 36 // This list must contain precisely every libpulse function that is used in | 37 // This list must contain precisely every libpulse function that is used in |
| 37 // the ADM LINUX PULSE Device and Mixer classes | 38 // the ADM LINUX PULSE Device and Mixer classes |
| 38 #define PULSE_AUDIO_SYMBOLS_LIST \ | 39 #define PULSE_AUDIO_SYMBOLS_LIST \ |
| 39 X(pa_bytes_per_second) \ | 40 X(pa_bytes_per_second) \ |
| 40 X(pa_context_connect) \ | 41 X(pa_context_connect) \ |
| 41 X(pa_context_disconnect) \ | 42 X(pa_context_disconnect) \ |
| 42 X(pa_context_errno) \ | 43 X(pa_context_errno) \ |
| 43 X(pa_context_get_protocol_version) \ | 44 X(pa_context_get_protocol_version) \ |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 X(pa_threaded_mainloop_unlock) \ | 93 X(pa_threaded_mainloop_unlock) \ |
| 93 X(pa_threaded_mainloop_wait) | 94 X(pa_threaded_mainloop_wait) |
| 94 | 95 |
| 95 LATE_BINDING_SYMBOL_TABLE_DECLARE_BEGIN(PulseAudioSymbolTable) | 96 LATE_BINDING_SYMBOL_TABLE_DECLARE_BEGIN(PulseAudioSymbolTable) |
| 96 #define X(sym) \ | 97 #define X(sym) \ |
| 97 LATE_BINDING_SYMBOL_TABLE_DECLARE_ENTRY(PulseAudioSymbolTable, sym) | 98 LATE_BINDING_SYMBOL_TABLE_DECLARE_ENTRY(PulseAudioSymbolTable, sym) |
| 98 PULSE_AUDIO_SYMBOLS_LIST | 99 PULSE_AUDIO_SYMBOLS_LIST |
| 99 #undef X | 100 #undef X |
| 100 LATE_BINDING_SYMBOL_TABLE_DECLARE_END(PulseAudioSymbolTable) | 101 LATE_BINDING_SYMBOL_TABLE_DECLARE_END(PulseAudioSymbolTable) |
| 101 | 102 |
| 102 } // namespace webrtc_adm_linux_pulse | 103 } // namespace adm_linux_pulse |
| 104 } // namespace webrtc |
| 103 | 105 |
| 104 #endif // WEBRTC_AUDIO_DEVICE_PULSEAUDIOSYMBOLTABLE_LINUX_H | 106 #endif // WEBRTC_AUDIO_DEVICE_PULSEAUDIOSYMBOLTABLE_LINUX_H |
| OLD | NEW |