voxforge.org
VoxForge Dev

Changeset 2327

Show
Ignore:
Timestamp:
10/10/07 15:04:48 (1 year ago)
Author:
kmaclean
Message:

Fix to upload bar - not in synch with rate of upload of file to server (ticket #261)
Fix License notice

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/CapturePlayback.java

    r2326 r2327  
    100100     
    101101    AudioFormat format = new AudioFormat(samplingRate, samplingRateFormat, numberChannels, true, false); 
    102   
     102 
    103103// !!!!!!     
    104104    Capture capture = new Capture(); 
     
    21302130//            progBar.setMaximum((int)spxFile.length()); 
    21312131//            totalBytes = ((int)spxFile.length()); 
    2132             progBar.setMaximum((int)wavFile.length()); 
     2132 //           progBar.setMaximum((int)wavFile.length()); 
    21332133 //           totalBytes = ((int)wavFile.length());             
    21342134// !!!!!!             
     
    22412241        String licenseNotice = "Copyright " + cal.get(Calendar.YEAR) + " " + copyrightName + System.getProperty("line.separator")  
    22422242                + System.getProperty("line.separator")  
    2243                 + licenseObject.getlicenseNotice(); 
     2243                + licenseObject.getBlanklicenseNotice(); 
    22442244        out_licenseNoticeFile.write(licenseNotice); 
    22452245        out_licenseNoticeFile.close();   
     
    22952295//!!!!!! 
    22962296totalBytes = ((int)archiveFile.length()) ;  
     2297progBar.setMaximum((int)archiveFile.length()); 
    22972298// !!!!!! 
    22982299//############ Upload ####################################  
  • Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/License.java

    r2326 r2327  
    3131                        + System.getProperty("line.separator"); 
    3232                 
    33                 licenseNotice =  "Copyright (C) <year>  Free Software Foundation" + System.getProperty("line.separator") 
    34                          + System.getProperty("line.separator") 
    35                     + "These files are free software: you can redistribute them and/or modify" + System.getProperty("line.separator") 
     33                licenseNotice =  
     34                     "These files are free software: you can redistribute them and/or modify" + System.getProperty("line.separator") 
    3635                        + "them under the terms of the GNU General Public License as published by" + System.getProperty("line.separator") 
    3736                        + "the Free Software Foundation, either version 3 of the License, or" + System.getProperty("line.separator") 
     
    758757    } 
    759758        public String getlicenseNotice() { 
    760         return licenseNotice; 
     759        return  "Copyright (C) <year>  Free Software Foundation" + System.getProperty("line.separator") 
     760                 + System.getProperty("line.separator")  
     761                 + licenseNotice; 
     762    } 
     763        public String getBlanklicenseNotice() { 
     764        return  licenseNotice; 
    761765    } 
    762766        public String getGPLLicense() { 
     
    766770                return  licenseFAQ +  
    767771                "E. GPL License Notice which will be included with your submission:" + System.getProperty("line.separator")+ System.getProperty("line.separator") +  
    768                 licenseNotice + 
     772                "Copyright (C) <year>  Free Software Foundation" + System.getProperty("line.separator") 
     773                 + System.getProperty("line.separator")  
     774                 + licenseNotice + 
    769775                "F. Full GPL License: (will also be included with your submission)" + System.getProperty("line.separator") + System.getProperty("line.separator")  +  
    770776                gplLicense;