summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2005-03-28 02:40:46 (GMT)
committerGreg Ward <gward@python.net>2005-03-28 02:40:46 (GMT)
commit0f2605473699f80bf6082d6fb90f3392fd6a518d (patch)
tree90fbbbb2b766300f69c9d980208d2aefa11ad86f /Modules
parenta17fa89a2b2fa26fb4d81b9ff80fb7d9dacc6d9c (diff)
downloadcpython-0f2605473699f80bf6082d6fb90f3392fd6a518d.zip
cpython-0f2605473699f80bf6082d6fb90f3392fd6a518d.tar.gz
cpython-0f2605473699f80bf6082d6fb90f3392fd6a518d.tar.bz2
Conditionally export a few more AFMT_* macros: AFMT_U16_NE, AFMT_S32_LE,
AFMT_S32_BE, AFMT_MPEG.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ossaudiodev.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c
index 43bd92b..21aa8b3 100644
--- a/Modules/ossaudiodev.c
+++ b/Modules/ossaudiodev.c
@@ -997,6 +997,18 @@ initossaudiodev(void)
#ifdef AFMT_S16_NE
_EXPORT_INT(m, AFMT_S16_NE);
#endif
+#ifdef AFMT_U16_NE
+ _EXPORT_INT(m, AFMT_U16_NE);
+#endif
+#ifdef AFMT_S32_LE
+ _EXPORT_INT(m, AFMT_S32_LE);
+#endif
+#ifdef AFMT_S32_BE
+ _EXPORT_INT(m, AFMT_S32_BE);
+#endif
+#ifdef AFMT_MPEG
+ _EXPORT_INT(m, AFMT_MPEG);
+#endif
/* Expose the sound mixer device numbers. */
_EXPORT_INT(m, SOUND_MIXER_NRDEVICES);