From: Greg Ward Date: Mon, 28 Mar 2005 02:40:46 +0000 (+0000) Subject: Conditionally export a few more AFMT_* macros: AFMT_U16_NE, AFMT_S32_LE, X-Git-Tag: v2.5a0~1873 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f2605473699f80bf6082d6fb90f3392fd6a518d;p=thirdparty%2FPython%2Fcpython.git Conditionally export a few more AFMT_* macros: AFMT_U16_NE, AFMT_S32_LE, AFMT_S32_BE, AFMT_MPEG. --- diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c index 43bd92b53be0..21aa8b39f31b 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);