diff options
Diffstat (limited to 'pcsound/pcsound.c')
-rw-r--r-- | pcsound/pcsound.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pcsound/pcsound.c b/pcsound/pcsound.c index 1491ff61..8c739b35 100644 --- a/pcsound/pcsound.c +++ b/pcsound/pcsound.c @@ -29,6 +29,7 @@ #include "config.h" #include "pcsound.h" +#include "pcsound_internal.h" #ifdef _WIN32 extern pcsound_driver_t pcsound_win32_driver; @@ -54,6 +55,13 @@ static pcsound_driver_t *drivers[] = static pcsound_driver_t *pcsound_driver = NULL; +int pcsound_sample_rate; + +void PCSound_SetSampleRate(int rate) +{ + pcsound_sample_rate = rate; +} + int PCSound_Init(pcsound_callback_func callback_func) { char *driver_name; |