Cleans up rogue printf
This was SVN commit r12587.
This commit is contained in:
parent
ccdb67c8f2
commit
d45a044445
@ -22,10 +22,9 @@
|
||||
|
||||
#if CONFIG2_AUDIO
|
||||
|
||||
#include "soundmanager/SoundManager.h"
|
||||
#include "ps/CLogger.h"
|
||||
#include "ps/Filesystem.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include "soundmanager/SoundManager.h"
|
||||
|
||||
COggData::COggData()
|
||||
{
|
||||
@ -46,7 +45,8 @@ void COggData::SetFormatAndFreq(int form, ALsizei freq)
|
||||
bool COggData::InitOggFile(const VfsPath& itemPath)
|
||||
{
|
||||
int buffersToStart = g_SoundManager->GetBufferCount();
|
||||
OpenOggNonstream( g_VFS, itemPath, ogg);
|
||||
Status status = OpenOggNonstream(g_VFS, itemPath, ogg);
|
||||
ENSURE(status == INFO::OK);
|
||||
|
||||
m_FileFinished = false;
|
||||
|
||||
@ -57,7 +57,7 @@ bool COggData::InitOggFile(const VfsPath& itemPath)
|
||||
|
||||
if(alGetError() != AL_NO_ERROR)
|
||||
{
|
||||
printf("- Error creating initial buffer !!\n");
|
||||
LOGERROR(L"Error creating initial buffer for %ls", itemPath.string().c_str());
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
@ -22,9 +22,11 @@
|
||||
|
||||
#if CONFIG2_AUDIO
|
||||
|
||||
#include "SoundData.h"
|
||||
#include "lib/external_libraries/openal.h"
|
||||
#include "ogg.h"
|
||||
#include "SoundData.h"
|
||||
|
||||
#include "lib/external_libraries/openal.h"
|
||||
#include "lib/file/vfs/vfs_path.h"
|
||||
|
||||
class COggData : public CSoundData
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user