mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-91734: Fix ossaudio support on Solaris (GH-91735)
(cherry picked from commit 4420faf273)
Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
This commit is contained in:
parent
88bbc5dd7a
commit
923ef87c77
2 changed files with 5 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
Fix OSS audio support on Solaris.
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue