diff options
author | Jakub KulĂk <Kulikjak@gmail.com> | 2022-04-20 10:46:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 10:46:08 (GMT) |
commit | 4420faf273e9e2d03226a9375e1e04a336230c84 (patch) | |
tree | 4c9d6cc13664eb6497e13b1b238c938573914be3 /Modules/ossaudiodev.c | |
parent | 5101d97d0b13425ccc5ed37abfabb07701db81fe (diff) | |
download | cpython-4420faf273e9e2d03226a9375e1e04a336230c84.zip cpython-4420faf273e9e2d03226a9375e1e04a336230c84.tar.gz cpython-4420faf273e9e2d03226a9375e1e04a336230c84.tar.bz2 |
gh-91734: Fix ossaudio support on Solaris (GH-91735)
Diffstat (limited to 'Modules/ossaudiodev.c')
-rw-r--r-- | Modules/ossaudiodev.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c index 2f507de..0568b6d 100644 --- a/Modules/ossaudiodev.c +++ b/Modules/ossaudiodev.c @@ -1277,8 +1277,12 @@ PyInit_ossaudiodev(void) _EXPORT_INT(m, SNDCTL_DSP_GETSPDIF); #endif _EXPORT_INT(m, SNDCTL_DSP_GETTRIGGER); +#ifdef SNDCTL_DSP_MAPINBUF _EXPORT_INT(m, SNDCTL_DSP_MAPINBUF); +#endif +#ifdef SNDCTL_DSP_MAPOUTBUF _EXPORT_INT(m, SNDCTL_DSP_MAPOUTBUF); +#endif _EXPORT_INT(m, SNDCTL_DSP_NONBLOCK); _EXPORT_INT(m, SNDCTL_DSP_POST); #ifdef SNDCTL_DSP_PROFILE |