Mercurial > hg > svcore
diff data/fileio/OggVorbisFileReader.cpp @ 1343:c380e56c95f5 3.0-integration
Untabify some more
author | Chris Cannam |
---|---|
date | Fri, 06 Jan 2017 09:50:13 +0000 |
parents | 4704e834d0f9 |
children | 1c9bbbb6116a |
line wrap: on
line diff
--- a/data/fileio/OggVorbisFileReader.cpp Fri Jan 06 09:43:40 2017 +0000 +++ b/data/fileio/OggVorbisFileReader.cpp Fri Jan 06 09:50:13 2017 +0000 @@ -64,8 +64,8 @@ m_fileSize = info.size(); if (!(m_oggz = oggz_open(m_path.toLocal8Bit().data(), OGGZ_READ))) { - m_error = QString("File %1 is not an OGG file.").arg(m_path); - return; + m_error = QString("File %1 is not an OGG file.").arg(m_path); + return; } FishSoundInfo fsinfo; @@ -172,7 +172,7 @@ int OggVorbisFileReader::acceptFrames(FishSound *fs, float **frames, long nframes, - void *data) + void *data) { OggVorbisFileReader *reader = (OggVorbisFileReader *)data; @@ -196,11 +196,11 @@ } if (reader->m_channelCount == 0) { - FishSoundInfo fsinfo; - fish_sound_command(fs, FISH_SOUND_GET_INFO, - &fsinfo, sizeof(FishSoundInfo)); - reader->m_fileRate = fsinfo.samplerate; - reader->m_channelCount = fsinfo.channels; + FishSoundInfo fsinfo; + fish_sound_command(fs, FISH_SOUND_GET_INFO, + &fsinfo, sizeof(FishSoundInfo)); + reader->m_fileRate = fsinfo.samplerate; + reader->m_channelCount = fsinfo.channels; reader->initialiseDecodeCache(); }