diff options
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 9bfd55e..ccc7882 100644 --- a/Modules/ossaudiodev.c +++ b/Modules/ossaudiodev.c @@ -1016,7 +1016,9 @@ initossaudiodev(void) _EXPORT_INT(m, SNDCTL_DSP_GETODELAY); _EXPORT_INT(m, SNDCTL_DSP_GETOPTR); _EXPORT_INT(m, SNDCTL_DSP_GETOSPACE); +#ifdef SNDCTL_DSP_GETSPDIF _EXPORT_INT(m, SNDCTL_DSP_GETSPDIF); +#endif _EXPORT_INT(m, SNDCTL_DSP_GETTRIGGER); _EXPORT_INT(m, SNDCTL_DSP_MAPINBUF); _EXPORT_INT(m, SNDCTL_DSP_MAPOUTBUF); @@ -1028,7 +1030,9 @@ initossaudiodev(void) _EXPORT_INT(m, SNDCTL_DSP_SETDUPLEX); _EXPORT_INT(m, SNDCTL_DSP_SETFMT); _EXPORT_INT(m, SNDCTL_DSP_SETFRAGMENT); +#ifdef SNDCTL_DSP_SETSPDIF _EXPORT_INT(m, SNDCTL_DSP_SETSPDIF); +#endif _EXPORT_INT(m, SNDCTL_DSP_SETSYNCRO); _EXPORT_INT(m, SNDCTL_DSP_SETTRIGGER); _EXPORT_INT(m, SNDCTL_DSP_SPEED); |