diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-04-20 11:09:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 11:09:01 (GMT) |
commit | 56c2d0809703eda9d2f4ab5600c054b73a5a2460 (patch) | |
tree | 525dc55f7c59ee6ae8b3b9b2a845ddc9dedf8941 /Modules | |
parent | 33c6feb811326e6f6d3487ed88df8dc66c552edc (diff) | |
download | cpython-56c2d0809703eda9d2f4ab5600c054b73a5a2460.zip cpython-56c2d0809703eda9d2f4ab5600c054b73a5a2460.tar.gz cpython-56c2d0809703eda9d2f4ab5600c054b73a5a2460.tar.bz2 |
gh-91734: Fix ossaudio support on Solaris (GH-91735)
(cherry picked from commit 4420faf273e9e2d03226a9375e1e04a336230c84)
Co-authored-by: Jakub KulĂk <Kulikjak@gmail.com>
Diffstat (limited to 'Modules')
-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 2a1ac10..fb57764 100644 --- a/Modules/ossaudiodev.c +++ b/Modules/ossaudiodev.c @@ -1243,8 +1243,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 |