Update of /cvsroot/audacity/audacity-src/src/blockfile
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv26010/blockfile
Modified Files:
ODPCMAliasBlockFile.cpp
Log Message:
Cleaning up some warnings
Index: ODPCMAliasBlockFile.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/blockfile/ODPCMAliasBlockFile.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ODPCMAliasBlockFile.cpp 17 Jul 2008 20:18:14 -0000 1.7
+++ ODPCMAliasBlockFile.cpp 25 Jul 2008 21:14:35 -0000 1.8
@@ -212,7 +212,7 @@
wxFileName aliasFileName;
sampleCount aliasStart=0, aliasLen=0;
int aliasChannel=0;
- float min=0, max=0, rms=0;
+ float rms=0;
long nValue;
@@ -274,8 +274,6 @@
(aliasLen <= 0) || (aliasLen < 0.0) ||
!XMLValueChecker::IsValidChannel(aliasChannel) || (rms < 0.0))
return NULL;
-
- //TODO: schedule for OD Loading
return new ODPCMAliasBlockFile(summaryFileName, aliasFileName,
aliasStart, aliasLen, aliasChannel);
@@ -315,8 +313,8 @@
//however, this is going to be called from a non-main thread,
//and wxLog calls are not thread safe.
- printf("Unable to write summary data to file %s",
- mFileName.GetFullPath().c_str());
+ printf("Unable to write summary data to file");// %s",
+ // mFileName.GetFullPath().c_str());
// If we can't write, there's nothing to do.
return;
}
@@ -560,7 +558,6 @@
bool ODPCMAliasBlockFile::ReadSummary(void *data)
{
wxFFile summaryFile(mFileName.GetFullPath(), wxT("rb"));
- wxLogNull *silence=0;
if( !summaryFile.IsOpened() ){
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs