mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
We no longer have a sound system that can handle music playback, so the code for it can go away.
This commit is contained in:
parent
9a1479ab08
commit
16f17deb0f
1 changed files with 0 additions and 13 deletions
|
@ -533,19 +533,6 @@ retry_as_sndsys:
|
|||
info = new CDDAFile (*reader);
|
||||
}
|
||||
}
|
||||
|
||||
// no support in sound system => no modules/streams
|
||||
// 1024 bytes is an arbitrary restriction. It's assumed that anything
|
||||
// smaller than this can't possibly be a valid music file if it hasn't
|
||||
// been identified already, so don't even bother trying to load it.
|
||||
// Of course MIDIs shorter than 1024 bytes should pass.
|
||||
if (info == NULL && (reader->GetLength() >= 1024 || id[0] == MAKE_ID('M','T','h','d')))
|
||||
{
|
||||
// Let the sound system figure out what it is.
|
||||
info = new StreamSong (reader);
|
||||
// Assumed ownership
|
||||
reader = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
if (reader != NULL) delete reader;
|
||||
|
|
Loading…
Reference in a new issue