Update of /cvsroot/audacity/audacity-src/src/export
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv4456/src/export

Modified Files:
        ExportFFmpeg.cpp 
Log Message:
Code comments
Minor cosmetic changes and string fixes
Removed ExportFFmpegWAVOptions
Added FFmpegExportCtrlIDNames (allows shorter preset load/unload code)
Removed some unused variables and code.
Wrapped preset load/save calls to gPrefs (may help later to move away from 
gPrefs to something better)
Made OnSavePreset() and OnLoadPreset() shorter
Small changes in exporter.

Index: ExportFFmpeg.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/ExportFFmpeg.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- ExportFFmpeg.cpp    6 Aug 2008 02:51:43 -0000       1.30
+++ ExportFFmpeg.cpp    9 Aug 2008 03:45:55 -0000       1.31
@@ -16,11 +16,6 @@
 
 *//***************************************************************//**
 
-\class ExportFFmpegWAVOptions
-\brief Options dialog for FFmpeg exporting of WAV format.
-
-*//***************************************************************//**
-
 \class ExportFFmpegAACOptions
 \brief Options dialog for FFmpeg exporting of AAC format.
 
[...1404 lines suppressed...]
-      memcpy(field,value.mb_str(),strlen(value.mb_str()) > size -1 ? size -1 : 
strlen(value.mb_str()));
+      memcpy(field,value.mb_str(),(int)strlen(value.mb_str()) > size -1 ? size 
-1 : strlen(value.mb_str()));
 }
 
 bool ExportFFmpeg::AddTags(Tags *tags)
@@ -2744,13 +2721,7 @@
 
 bool ExportFFmpeg::DisplayOptions(AudacityProject *project, int format)
 {
-   if (format == FMT_PCMS16LEWAV)
-   {
-      ExportFFmpegWAVOptions od(project);
-      od.ShowModal();
-      return true;
-   }
-   else if (format == FMT_M4A)
+   if (format == FMT_M4A)
    {
       ExportFFmpegAACOptions od(project);
       od.ShowModal();


-------------------------------------------------------------------------
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

Reply via email to