mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Switch from old to new PCM API retaining binary compatibility
Changed version to 1.0.0pre1
This commit is contained in:
parent
83bfda918e
commit
d4af763f8a
10 changed files with 209 additions and 281 deletions
|
|
@ -55,8 +55,6 @@ Write something here
|
|||
#include <sys/shm.h>
|
||||
#include <sys/mman.h>
|
||||
#include <limits.h>
|
||||
#define ALSA_PCM_NEW_HW_PARAMS_API
|
||||
#define ALSA_PCM_NEW_SW_PARAMS_API
|
||||
#include "asoundlib.h"
|
||||
#include "pcm_ordinary.h"
|
||||
|
||||
|
|
|
|||
203
src/pcm/pcm.c
203
src/pcm/pcm.c
|
|
@ -3005,9 +3005,6 @@ void snd_pcm_hw_params_copy(snd_pcm_hw_params_t *dst, const snd_pcm_hw_params_t
|
|||
* \param params Configuration space
|
||||
* \param access Returned value
|
||||
* \return access type otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_access)(const snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
|
||||
|
|
@ -3052,9 +3049,6 @@ int snd_pcm_hw_params_set_access(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, sn
|
|||
* \param params Configuration space
|
||||
* \param access Returned first access type
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_access_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
|
||||
|
|
@ -3071,9 +3065,6 @@ int snd_pcm_hw_params_set_access_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *para
|
|||
* \param params Configuration space
|
||||
* \param val Returned last access type
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_access_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t *access)
|
||||
|
|
@ -3115,9 +3106,6 @@ int snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_t *params, snd_pcm_acces
|
|||
* \param params Configuration space
|
||||
* \param format returned format
|
||||
* \return format otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_format)(const snd_pcm_hw_params_t *params, snd_pcm_format_t *format)
|
||||
|
|
@ -3158,9 +3146,6 @@ int snd_pcm_hw_params_set_format(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, sn
|
|||
* \param params Configuration space
|
||||
* \param format Returned first format
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_format_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t *format)
|
||||
|
|
@ -3177,9 +3162,6 @@ int snd_pcm_hw_params_set_format_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *para
|
|||
* \param params Configuration space
|
||||
* \param format Returned last format
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_format_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t *format)
|
||||
|
|
@ -3218,9 +3200,6 @@ void snd_pcm_hw_params_get_format_mask(snd_pcm_hw_params_t *params, snd_pcm_form
|
|||
* \param params Configuration space
|
||||
* \param subformat Returned subformat value
|
||||
* \return subformat otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_subformat)(const snd_pcm_hw_params_t *params, snd_pcm_subformat_t *subformat)
|
||||
|
|
@ -3261,9 +3240,6 @@ int snd_pcm_hw_params_set_subformat(snd_pcm_t *pcm, snd_pcm_hw_params_t *params,
|
|||
* \param params Configuration space
|
||||
* \param subformat Returned subformat
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_subformat_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_t *subformat)
|
||||
|
|
@ -3280,9 +3256,6 @@ int snd_pcm_hw_params_set_subformat_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *p
|
|||
* \param params Configuration space
|
||||
* \param subformat Returned subformat
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_subformat_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_subformat_t *subformat)
|
||||
|
|
@ -3321,9 +3294,6 @@ void snd_pcm_hw_params_get_subformat_mask(snd_pcm_hw_params_t *params, snd_pcm_s
|
|||
* \param params Configuration space
|
||||
* \param val Returned channels count
|
||||
* \return 0 otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_channels)(const snd_pcm_hw_params_t *params, unsigned int *val)
|
||||
|
|
@ -3339,9 +3309,6 @@ int snd_pcm_hw_params_get_channels(const snd_pcm_hw_params_t *params, unsigned i
|
|||
* \param params Configuration space
|
||||
* \param val minimum channels count
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_channels_min)(const snd_pcm_hw_params_t *params, unsigned int *val)
|
||||
|
|
@ -3357,9 +3324,6 @@ int snd_pcm_hw_params_get_channels_min(const snd_pcm_hw_params_t *params, unsign
|
|||
* \param params Configuration space
|
||||
* \param val maximum channels count
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_channels_max)(const snd_pcm_hw_params_t *params, unsigned int *val)
|
||||
|
|
@ -3437,9 +3401,6 @@ int snd_pcm_hw_params_set_channels_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *p
|
|||
* \param params Configuration space
|
||||
* \param val target channels count, returned chosen channels count
|
||||
* \return chosen channels count
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_channels_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val)
|
||||
|
|
@ -3456,9 +3417,6 @@ int snd_pcm_hw_params_set_channels_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *par
|
|||
* \param params Configuration space
|
||||
* \param val minimum channels count
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_channels_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val)
|
||||
|
|
@ -3475,9 +3433,6 @@ int snd_pcm_hw_params_set_channels_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *pa
|
|||
* \param params Configuration space
|
||||
* \param val maximum channels count
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_channels_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val)
|
||||
|
|
@ -3497,9 +3452,6 @@ int snd_pcm_hw_params_set_channels_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *par
|
|||
* \return 0 otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_rate)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3518,9 +3470,6 @@ int snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t *params, unsigned int *
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_rate_min)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3539,9 +3488,6 @@ int snd_pcm_hw_params_get_rate_min(const snd_pcm_hw_params_t *params, unsigned i
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_rate_max)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3637,9 +3583,6 @@ int snd_pcm_hw_params_set_rate_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *param
|
|||
* \return approximate chosen rate
|
||||
*
|
||||
* target/chosen exact value is <,=,> val following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_rate_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3659,9 +3602,6 @@ int snd_pcm_hw_params_set_rate_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params,
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_rate_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3681,9 +3621,6 @@ int snd_pcm_hw_params_set_rate_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *params
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_rate_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3703,9 +3640,6 @@ int snd_pcm_hw_params_set_rate_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *params,
|
|||
* \return 0 otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_period_time)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3724,9 +3658,6 @@ int snd_pcm_hw_params_get_period_time(const snd_pcm_hw_params_t *params, unsigne
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_period_time_min)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3745,9 +3676,6 @@ int snd_pcm_hw_params_get_period_time_min(const snd_pcm_hw_params_t *params, uns
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_period_time_max)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3844,9 +3772,6 @@ int snd_pcm_hw_params_set_period_time_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t
|
|||
* \return approximate chosen period duration in us
|
||||
*
|
||||
* target/chosen exact value is <,=,> val following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_period_time_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3866,9 +3791,6 @@ int snd_pcm_hw_params_set_period_time_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_period_time_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3887,9 +3809,6 @@ int snd_pcm_hw_params_set_period_time_first(snd_pcm_t *pcm, snd_pcm_hw_params_t
|
|||
* \return approximate period duration in us
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_period_time_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -3909,9 +3828,6 @@ int snd_pcm_hw_params_set_period_time_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *
|
|||
* \return 0 otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_period_size)(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir)
|
||||
|
|
@ -3934,9 +3850,6 @@ int snd_pcm_hw_params_get_period_size(const snd_pcm_hw_params_t *params, snd_pcm
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_period_size_min)(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir)
|
||||
|
|
@ -3959,9 +3872,6 @@ int snd_pcm_hw_params_get_period_size_min(const snd_pcm_hw_params_t *params, snd
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_period_size_max)(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir)
|
||||
|
|
@ -4074,9 +3984,6 @@ int snd_pcm_hw_params_set_period_size_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* target/chosen exact value is <,=,> val following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_period_size_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir)
|
||||
|
|
@ -4100,9 +4007,6 @@ int snd_pcm_hw_params_set_period_size_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_period_size_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir)
|
||||
|
|
@ -4126,9 +4030,6 @@ int snd_pcm_hw_params_set_period_size_first(snd_pcm_t *pcm, snd_pcm_hw_params_t
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_period_size_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir)
|
||||
|
|
@ -4163,9 +4064,6 @@ int snd_pcm_hw_params_set_period_size_integer(snd_pcm_t *pcm, snd_pcm_hw_params_
|
|||
* \return 0 otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_periods)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4184,9 +4082,6 @@ int snd_pcm_hw_params_get_periods(const snd_pcm_hw_params_t *params, unsigned in
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_periods_min)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4205,9 +4100,6 @@ int snd_pcm_hw_params_get_periods_min(const snd_pcm_hw_params_t *params, unsigne
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_periods_max)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4303,9 +4195,6 @@ int snd_pcm_hw_params_set_periods_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *pa
|
|||
* \return approximate chosen periods per buffer
|
||||
*
|
||||
* target/chosen exact value is <,=,> val following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_periods_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4325,9 +4214,6 @@ int snd_pcm_hw_params_set_periods_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *para
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_periods_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4347,9 +4233,6 @@ int snd_pcm_hw_params_set_periods_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *par
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_periods_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4381,9 +4264,6 @@ int snd_pcm_hw_params_set_periods_integer(snd_pcm_t *pcm, snd_pcm_hw_params_t *p
|
|||
* \return 0 otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_buffer_time)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4402,9 +4282,6 @@ int snd_pcm_hw_params_get_buffer_time(const snd_pcm_hw_params_t *params, unsigne
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_buffer_time_min)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4423,9 +4300,6 @@ int snd_pcm_hw_params_get_buffer_time_min(const snd_pcm_hw_params_t *params, uns
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_buffer_time_max)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4521,9 +4395,6 @@ int snd_pcm_hw_params_set_buffer_time_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t
|
|||
* \return approximate chosen buffer duration in us
|
||||
*
|
||||
* target/chosen exact value is <,=,> val following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_buffer_time_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4543,9 +4414,6 @@ int snd_pcm_hw_params_set_buffer_time_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_buffer_time_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4565,9 +4433,6 @@ int snd_pcm_hw_params_set_buffer_time_first(snd_pcm_t *pcm, snd_pcm_hw_params_t
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_buffer_time_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4584,9 +4449,6 @@ int snd_pcm_hw_params_set_buffer_time_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *
|
|||
* \param params Configuration space
|
||||
* \param val Returned buffer size in frames
|
||||
* \return 0 otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_buffer_size)(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -4609,9 +4471,6 @@ int snd_pcm_hw_params_get_buffer_size(const snd_pcm_hw_params_t *params, snd_pcm
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_buffer_size_min)(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -4634,9 +4493,6 @@ int snd_pcm_hw_params_get_buffer_size_min(const snd_pcm_hw_params_t *params, snd
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_buffer_size_max)(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -4748,9 +4604,6 @@ int snd_pcm_hw_params_set_buffer_size_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t
|
|||
* \return approximate chosen buffer size in frames
|
||||
*
|
||||
* target/chosen exact value is <,=,> val following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_buffer_size_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -4771,9 +4624,6 @@ int snd_pcm_hw_params_set_buffer_size_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *
|
|||
* \param params Configuration space
|
||||
* \param val Returned minimum buffer size in frames
|
||||
* \return buffer size in frames
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_buffer_size_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -4794,9 +4644,6 @@ int snd_pcm_hw_params_set_buffer_size_first(snd_pcm_t *pcm, snd_pcm_hw_params_t
|
|||
* \param params Configuration space
|
||||
* \param val Returned maximum buffer size in frames
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_buffer_size_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -4820,9 +4667,6 @@ int snd_pcm_hw_params_set_buffer_size_last(snd_pcm_t *pcm, snd_pcm_hw_params_t *
|
|||
* \return 0 otherwise a negative error code if not exactly one is present
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_tick_time)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4841,9 +4685,6 @@ int snd_pcm_hw_params_get_tick_time(const snd_pcm_hw_params_t *params, unsigned
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_tick_time_min)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4862,9 +4703,6 @@ int snd_pcm_hw_params_get_tick_time_min(const snd_pcm_hw_params_t *params, unsig
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Exact value is <,=,> the returned one following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_get_tick_time_max)(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4960,9 +4798,6 @@ int snd_pcm_hw_params_set_tick_time_minmax(snd_pcm_t *pcm, snd_pcm_hw_params_t *
|
|||
* \return approximate chosen tick duration in us
|
||||
*
|
||||
* target/chosen exact value is <,=,> val following dir (-1,0,1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_tick_time_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -4982,9 +4817,6 @@ int snd_pcm_hw_params_set_tick_time_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *pa
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_tick_time_first)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -5004,9 +4836,6 @@ int snd_pcm_hw_params_set_tick_time_first(snd_pcm_t *pcm, snd_pcm_hw_params_t *p
|
|||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Actual exact value is <,=,> the approximate one following dir (-1, 0, 1)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_hw_params_set_tick_time_last)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)
|
||||
|
|
@ -5262,9 +5091,6 @@ int snd_pcm_sw_params_set_tstamp_mode(snd_pcm_t *pcm, snd_pcm_sw_params_t *param
|
|||
* \param params Software configuration container
|
||||
* \param val Returned timestamp
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_HW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_sw_params_get_tstamp_mode)(const snd_pcm_sw_params_t *params, snd_pcm_tstamp_t *val)
|
||||
|
|
@ -5300,9 +5126,6 @@ int snd_pcm_sw_params_set_sleep_min(snd_pcm_t *pcm, snd_pcm_sw_params_t *params,
|
|||
* \param params Software configuration container
|
||||
* \param val returned minimum number of ticks to sleep or 0 if tick timer is disabled
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_SW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_sw_params_get_sleep_min)(const snd_pcm_sw_params_t *params, unsigned int *val)
|
||||
|
|
@ -5347,9 +5170,6 @@ int snd_pcm_sw_params_set_avail_min(snd_pcm_t *pcm, snd_pcm_sw_params_t *params,
|
|||
* \param params Software configuration container
|
||||
* \param val returned minimum available frames to consider PCM ready
|
||||
* \return 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_SW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_sw_params_get_avail_min)(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -5387,9 +5207,6 @@ int snd_pcm_sw_params_set_xfer_align(snd_pcm_t *pcm, snd_pcm_sw_params_t *params
|
|||
* \param params Software configuration container
|
||||
* \param val returned chunk size (frames are attempted to be transferred in chunks)
|
||||
* \param 0 otherwise a negative error code
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_SW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_sw_params_get_xfer_align)(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -5432,9 +5249,6 @@ int snd_pcm_sw_params_set_start_threshold(snd_pcm_t *pcm, snd_pcm_sw_params_t *p
|
|||
*
|
||||
* PCM is automatically started when playback frames available to PCM
|
||||
* are >= threshold or when requested capture frames are >= threshold
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_SW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_sw_params_get_start_threshold)(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -5477,9 +5291,6 @@ int snd_pcm_sw_params_set_stop_threshold(snd_pcm_t *pcm, snd_pcm_sw_params_t *pa
|
|||
*
|
||||
* PCM is automatically stopped in #SND_PCM_STATE_XRUN state when available
|
||||
* frames is >= threshold
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_SW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_sw_params_get_stop_threshold)(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -5525,9 +5336,6 @@ int snd_pcm_sw_params_set_silence_threshold(snd_pcm_t *pcm, snd_pcm_sw_params_t
|
|||
* A portion of playback buffer is overwritten with silence (see
|
||||
* #snd_pcm_sw_params_get_silence_size) when playback underrun is nearer
|
||||
* than silence threshold
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_SW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_sw_params_get_silence_threshold)(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -5578,9 +5386,6 @@ int snd_pcm_sw_params_set_silence_size(snd_pcm_t *pcm, snd_pcm_sw_params_t *para
|
|||
* A portion of playback buffer is overwritten with silence when playback
|
||||
* underrun is nearer than silence threshold (see
|
||||
* #snd_pcm_sw_params_set_silence_threshold)
|
||||
*
|
||||
* Note: To use this function add '#define ALSA_PCM_NEW_SW_PARAMS_API' before '#include <alsa/asoundlib.h>'
|
||||
* to enable this new function prototype. Using of older function with same name is deprecated.
|
||||
*/
|
||||
#ifndef DOXYGEN
|
||||
int INTERNAL(snd_pcm_sw_params_get_silence_size)(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val)
|
||||
|
|
@ -6538,17 +6343,9 @@ void snd_pcm_unlink_appl_ptr(snd_pcm_t *pcm, snd_pcm_t *slave)
|
|||
|
||||
#ifdef USE_VERSIONED_SYMBOLS
|
||||
|
||||
#if 1
|
||||
/* it's really not so nice: obsolete, but default */
|
||||
/* forced by developers on alsa-devel */
|
||||
#define OBSOLETE1(name, what, new) \
|
||||
symbol_version(__##name, name, new); \
|
||||
default_symbol_version(__old_##name, name, what);
|
||||
#else
|
||||
#define OBSOLETE1(name, what, new) \
|
||||
default_symbol_version(__##name, name, new); \
|
||||
symbol_version(__old_##name, name, what);
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue