diff options
author | Johannes Schickel | 2016-03-13 14:06:20 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-13 14:06:20 +0100 |
commit | 90899860b4e4843cc42b272c86d15951c8846dca (patch) | |
tree | a7766290d5de9827975c225a143a3913da373399 /backends/audiocd/linux | |
parent | c6c0f527a7394d70afd4a50d8b9b41d035bbe7b8 (diff) | |
download | scummvm-rg350-90899860b4e4843cc42b272c86d15951c8846dca.tar.gz scummvm-rg350-90899860b4e4843cc42b272c86d15951c8846dca.tar.bz2 scummvm-rg350-90899860b4e4843cc42b272c86d15951c8846dca.zip |
BACKENDS: Formatting fixes.
Diffstat (limited to 'backends/audiocd/linux')
-rw-r--r-- | backends/audiocd/linux/linux-audiocd.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/backends/audiocd/linux/linux-audiocd.cpp b/backends/audiocd/linux/linux-audiocd.cpp index b48ce78b94..b3d355fecd 100644 --- a/backends/audiocd/linux/linux-audiocd.cpp +++ b/backends/audiocd/linux/linux-audiocd.cpp @@ -94,7 +94,7 @@ private: }; LinuxAudioCDStream::LinuxAudioCDStream(int fd, const cdrom_tocentry &startEntry, const cdrom_tocentry &endEntry) : - _fd(fd), _startEntry(startEntry), _endEntry(endEntry) { + _fd(fd), _startEntry(startEntry), _endEntry(endEntry) { startTimer(); } @@ -264,7 +264,7 @@ bool LinuxAudioCDManager::play(int track, int numLoops, int startFrame, int dura return false; // HACK: For now, just assume that track number is right - // That only works because ScummVM uses the wrong track number anyway + // That only works because ScummVM uses the wrong track number anyway if (track >= (int)_tocEntries.size() - 1) { warning("No such track %d", track); @@ -289,14 +289,14 @@ bool LinuxAudioCDManager::play(int track, int numLoops, int startFrame, int dura _emulating = true; _mixer->playStream( - Audio::Mixer::kMusicSoundType, - &_handle, - Audio::makeLoopingAudioStream(audioStream, start, end, (numLoops < 1) ? numLoops + 1 : numLoops), - -1, - _cd.volume, - _cd.balance, - DisposeAfterUse::YES, - true); + Audio::Mixer::kMusicSoundType, + &_handle, + Audio::makeLoopingAudioStream(audioStream, start, end, (numLoops < 1) ? numLoops + 1 : numLoops), + -1, + _cd.volume, + _cd.balance, + DisposeAfterUse::YES, + true); return true; } |