Skip to content

Commit

Permalink
SDL sound driver enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
szymor committed Mar 15, 2020
1 parent 2499702 commit 8fe474f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/mikmod/audiodrv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ void CMikModDrv::InitDriver(void)
}
MikMod_RegisterDriver(&drv_nos);
#else // Must be Linux
if (drv_sdl.Name) // Valid SDL driver
{
if (drv_sdl.CommandLine) // Valid Commandline
{
drv_sdl.CommandLine("buffer=14");
}
MikMod_RegisterDriver(&drv_sdl);
}
if (drv_oss.Name) // Valid OSS driver
{
if (drv_oss.CommandLine) // Valid Commandline
Expand Down

0 comments on commit 8fe474f

Please sign in to comment.