summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2005-03-28 02:40:46 +0000
committerGreg Ward <gward@python.net>2005-03-28 02:40:46 +0000
commitdd1b052b0b1403570580b5d29f1f20d7ac76ec04 (patch)
tree5fd929a49ca6a83db98e983883801d977045e021 /Modules
parente31e2b70e2c3eac561c9ecb39b1011d8f2362474 (diff)
downloadcpython-dd1b052b0b1403570580b5d29f1f20d7ac76ec04.tar.gz
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 43bd92b53b..21aa8b39f3 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);