Skip to content

Commit

Permalink
gh-91734: Fix ossaudio support on Solaris (GH-91735)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4420faf)

Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
  • Loading branch information
miss-islington and kulikjak committed Apr 20, 2022
1 parent 33c6feb commit 56c2d08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
@@ -0,0 +1 @@
Fix OSS audio support on Solaris.
4 changes: 4 additions & 0 deletions Modules/ossaudiodev.c
Expand Up @@ -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
Expand Down

0 comments on commit 56c2d08

Please sign in to comment.