2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
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.
11 #ifndef WEBRTC_SOUND_ALSASYMBOLTABLE_H_
12 #define WEBRTC_SOUND_ALSASYMBOLTABLE_H_
14 #include <alsa/asoundlib.h>
16 #include "webrtc/base/latebindingsymboltable.h"
20 #define ALSA_SYMBOLS_CLASS_NAME AlsaSymbolTable
21 // The ALSA symbols we need, as an X-Macro list.
22 // This list must contain precisely every libasound function that is used in
23 // alsasoundsystem.cc.
24 #define ALSA_SYMBOLS_LIST \
25 X(snd_device_name_free_hint) \
26 X(snd_device_name_get_hint) \
27 X(snd_device_name_hint) \
28 X(snd_pcm_avail_update) \
36 X(snd_pcm_set_params) \
43 #define LATE_BINDING_SYMBOL_TABLE_CLASS_NAME ALSA_SYMBOLS_CLASS_NAME
44 #define LATE_BINDING_SYMBOL_TABLE_SYMBOLS_LIST ALSA_SYMBOLS_LIST
45 #include "webrtc/base/latebindingsymboltable.h.def"
49 #endif // WEBRTC_SOUND_ALSASYMBOLTABLE_H_