Switch from old to new PCM API retaining binary compatibility

Changed version to 1.0.0pre1
This commit is contained in:
Jaroslav Kysela 2003-11-05 10:38:37 +00:00
parent 83bfda918e
commit d4af763f8a
10 changed files with 209 additions and 281 deletions

16
NOTES Normal file
View 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