== not =, shouldn't gcc warn about that without extra ()? Also, my conversion codes doesn't quite work as I had expected, force format to Other for now.
This commit is contained in:
@@ -183,7 +183,7 @@ RageSound_CA::RageSound_CA()
|
|||||||
|
|
||||||
const Desc& procFormat = FindClosestFormat( procFormats, mFormat );
|
const Desc& procFormat = FindClosestFormat( procFormats, mFormat );
|
||||||
stream.SetCurrentIOProcFormat( procFormat );
|
stream.SetCurrentIOProcFormat( procFormat );
|
||||||
|
mFormat = OTHER; // XXX Temporary
|
||||||
LOG->Info("Proc format is %s.",
|
LOG->Info("Proc format is %s.",
|
||||||
mFormat == EXACT ? "exact" : (mFormat == CANONICAL ?
|
mFormat == EXACT ? "exact" : (mFormat == CANONICAL ?
|
||||||
"canonical" : "other"));
|
"canonical" : "other"));
|
||||||
@@ -223,7 +223,7 @@ RageSound_CA::RageSound_CA()
|
|||||||
|
|
||||||
StartDecodeThread();
|
StartDecodeThread();
|
||||||
|
|
||||||
if (mFormat = OTHER)
|
if (mFormat == OTHER)
|
||||||
gConverter = new AudioConverter( this, procFormat );
|
gConverter = new AudioConverter( this, procFormat );
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user