Turn off sound until segfault fixed

This commit is contained in:
edmccard 2012-03-14 08:27:21 -04:00
parent 8a241ddf50
commit 3c7cca9c55
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ static import host;
static this()
{
soundCard = new SoundCardNo();
/+ TODO: fix sound segfault in fillAudio
if (host.SDL)
{
if (SDL_InitSubSystem(SDL_INIT_AUDIO) == -1)
@ -49,6 +50,7 @@ static this()
if (checkCard.isActive)
soundCard = checkCard;
}
+/
host.delay.soundCardActive = &soundCard.getIsActive;
host.delay.soundCardHasEnoughData = &soundCard.hasEnoughData;
}