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
16
NOTES
Normal file
16
NOTES
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
Old versus new PCM API (values returned using indirect pointers)
|
||||
================================================================
|
||||
|
||||
From the binary compatibility view, there is no change. For compilation,
|
||||
1.0 ALSA applications do not need any change. The older applications must
|
||||
use this include sequence:
|
||||
|
||||
#define ALSA_PCM_OLD_HW_PARAMS_API
|
||||
#define ALSA_PCM_OLD_SW_PARAMS_API
|
||||
#include <alsa/asoundlib.h>
|
||||
|
||||
If you use already the new API, you may remove old defines selecting
|
||||
this API, because they are no longer used:
|
||||
|
||||
#define ALSA_PCM_NEW_HW_PARAMS_API
|
||||
#define ALSA_PCM_NEW_SW_PARAMS_API
|
||||
Loading…
Add table
Add a link
Reference in a new issue