Skip to content

Commit 8fe474f

Browse files
committed
SDL sound driver enabled
1 parent 2499702 commit 8fe474f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/mikmod/audiodrv.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,14 @@ void CMikModDrv::InitDriver(void)
150150
}
151151
MikMod_RegisterDriver(&drv_nos);
152152
#else // Must be Linux
153+
if (drv_sdl.Name) // Valid SDL driver
154+
{
155+
if (drv_sdl.CommandLine) // Valid Commandline
156+
{
157+
drv_sdl.CommandLine("buffer=14");
158+
}
159+
MikMod_RegisterDriver(&drv_sdl);
160+
}
153161
if (drv_oss.Name) // Valid OSS driver
154162
{
155163
if (drv_oss.CommandLine) // Valid Commandline

0 commit comments

Comments
 (0)