mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
Reverted back the PCM API.
New snd_pcm_hw_params_* functions are available only explicitly when ALSA_PCM_NEW_HW_PARAMS_API is defined. Updated documentation and test code to new API.
This commit is contained in:
parent
ec415ef3a9
commit
7f3942d827
15 changed files with 528 additions and 65 deletions
|
|
@ -1016,8 +1016,10 @@ SND_DLSYM_BUILD_VERSION(_snd_pcm_hw_open, SND_PCM_DLSYM_VERSION);
|
|||
* To be removed helpers, but keep binary compatibility at the time
|
||||
*/
|
||||
|
||||
#ifndef DOC_HIDDEN
|
||||
#define __OLD_TO_NEW_MASK(x) ((x&7)|((x&0x07fffff8)<<5))
|
||||
#define __NEW_TO_OLD_MASK(x) ((x&7)|((x&0xffffff00)>>5))
|
||||
#endif
|
||||
|
||||
static void snd_pcm_hw_convert_from_old_params(snd_pcm_hw_params_t *params,
|
||||
struct sndrv_pcm_hw_params_old *oparams)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue