mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-25 04:01:03 +00:00
HPL1: Fix build when not enabling Vorbis
This commit is contained in:
parent
e4827ca924
commit
587b34794f
@ -98,8 +98,10 @@ bool cOpenALSoundData::CreateFromFile(const tString &filename) {
|
||||
|
||||
static Audio::SeekableAudioStream *createAudioStream(Common::MemoryReadStream *data, uint format) {
|
||||
switch (format) {
|
||||
#ifdef USE_VORBIS
|
||||
case kOgg:
|
||||
return Audio::makeVorbisStream(data, DisposeAfterUse::YES);
|
||||
#endif
|
||||
case kWav:
|
||||
return Audio::makeWAVStream(data, DisposeAfterUse::YES);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user