820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync/** @file
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync *
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync * Mangle libasound symbols. This is necessary on hosts which don't
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync * support the -fvisibility gcc switch.
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync */
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync/*
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync * Copyright (C) 2013 Oracle Corporation
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync *
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync * available from http://www.virtualbox.org. This file is free software;
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync * you can redistribute it and/or modify it under the terms of the GNU
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync * General Public License (GPL) as published by the Free Software
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync */
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#ifndef AUDIO_ALSA_MANGLING_H
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define AUDIO_ALSA_MANGLING_H
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define ALSA_MANGLER(symbol) VBox_##symbol
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_any ALSA_MANGLER(snd_pcm_hw_params_any)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_close ALSA_MANGLER(snd_pcm_close)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_avail_update ALSA_MANGLER(snd_pcm_avail_update)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_set_channels_near ALSA_MANGLER(snd_pcm_hw_params_set_channels_near)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_set_period_time_near ALSA_MANGLER(snd_pcm_hw_params_set_period_time_near)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_prepare ALSA_MANGLER(snd_pcm_prepare)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_sw_params_sizeof ALSA_MANGLER(snd_pcm_sw_params_sizeof)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_set_period_size_near ALSA_MANGLER(snd_pcm_hw_params_set_period_size_near)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_get_period_size ALSA_MANGLER(snd_pcm_hw_params_get_period_size)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params ALSA_MANGLER(snd_pcm_hw_params)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_sizeof ALSA_MANGLER(snd_pcm_hw_params_sizeof)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_state ALSA_MANGLER(snd_pcm_state)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_open ALSA_MANGLER(snd_pcm_open)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_lib_error_set_handler ALSA_MANGLER(snd_lib_error_set_handler)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_sw_params ALSA_MANGLER(snd_pcm_sw_params)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_get_period_size_min ALSA_MANGLER(snd_pcm_hw_params_get_period_size_min)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_writei ALSA_MANGLER(snd_pcm_writei)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_readi ALSA_MANGLER(snd_pcm_readi)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_strerror ALSA_MANGLER(snd_strerror)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_drop ALSA_MANGLER(snd_pcm_drop)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_resume ALSA_MANGLER(snd_pcm_resume)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_get_buffer_size ALSA_MANGLER(snd_pcm_hw_params_get_buffer_size)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_set_rate_near ALSA_MANGLER(snd_pcm_hw_params_set_rate_near)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_set_access ALSA_MANGLER(snd_pcm_hw_params_set_access)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_set_buffer_time_near ALSA_MANGLER(snd_pcm_hw_params_set_buffer_time_near)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_set_buffer_size_near ALSA_MANGLER(snd_pcm_hw_params_set_buffer_size_near)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_get_buffer_size_min ALSA_MANGLER(snd_pcm_hw_params_get_buffer_size_min)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_hw_params_set_format ALSA_MANGLER(snd_pcm_hw_params_set_format)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_sw_params_current ALSA_MANGLER(snd_pcm_sw_params_current)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#define snd_pcm_sw_params_set_start_threshold ALSA_MANGLER(snd_pcm_sw_params_set_start_threshold)
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync
820e4bc68518ef74f801cc055cb6d1522b3eddf4vboxsync#endif /* !AUDIO_ALSA_MANGLING_H */