summaryrefslogtreecommitdiff
path: root/NOTES
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2003-11-05 10:38:37 +0000
committerJaroslav Kysela <perex@perex.cz>2003-11-05 10:38:37 +0000
commitd4af763f8ae5054ba76915b97fc8b1efec2f7d1d (patch)
tree78014340b945282e93710bef4ce6b420c2ddfab2 /NOTES
parent83bfda918e4dbe6ba5cc3eadbf45c0ba2519a72c (diff)
downloadalsa-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--NOTES16
1 files changed, 16 insertions, 0 deletions
diff --git a/NOTES b/NOTES
new file mode 100644
index 00000000..2630638b
--- /dev/null
+++ b/NOTES
@@ -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