diff options
author | Jaroslav Kysela <perex@perex.cz> | 2003-11-05 10:38:37 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2003-11-05 10:38:37 +0000 |
commit | d4af763f8ae5054ba76915b97fc8b1efec2f7d1d (patch) | |
tree | 78014340b945282e93710bef4ce6b420c2ddfab2 /NOTES | |
parent | 83bfda918e4dbe6ba5cc3eadbf45c0ba2519a72c (diff) | |
download | alsa-lib-d4af763f8ae5054ba76915b97fc8b1efec2f7d1d.tar.gz |
Switch from old to new PCM API retaining binary compatibility
Changed version to 1.0.0pre1
Diffstat (limited to 'NOTES')
-rw-r--r-- | NOTES | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 |