Changeset 2327
- Timestamp:
- 10/10/07 15:04:48 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/CapturePlayback.java
r2326 r2327 100 100 101 101 AudioFormat format = new AudioFormat(samplingRate, samplingRateFormat, numberChannels, true, false); 102 102 103 103 // !!!!!! 104 104 Capture capture = new Capture(); … … 2130 2130 // progBar.setMaximum((int)spxFile.length()); 2131 2131 // totalBytes = ((int)spxFile.length()); 2132 progBar.setMaximum((int)wavFile.length());2132 // progBar.setMaximum((int)wavFile.length()); 2133 2133 // totalBytes = ((int)wavFile.length()); 2134 2134 // !!!!!! … … 2241 2241 String licenseNotice = "Copyright " + cal.get(Calendar.YEAR) + " " + copyrightName + System.getProperty("line.separator") 2242 2242 + System.getProperty("line.separator") 2243 + licenseObject.get licenseNotice();2243 + licenseObject.getBlanklicenseNotice(); 2244 2244 out_licenseNoticeFile.write(licenseNotice); 2245 2245 out_licenseNoticeFile.close(); … … 2295 2295 //!!!!!! 2296 2296 totalBytes = ((int)archiveFile.length()) ; 2297 progBar.setMaximum((int)archiveFile.length()); 2297 2298 // !!!!!! 2298 2299 //############ Upload #################################### Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/License.java
r2326 r2327 31 31 + System.getProperty("line.separator"); 32 32 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") 36 35 + "them under the terms of the GNU General Public License as published by" + System.getProperty("line.separator") 37 36 + "the Free Software Foundation, either version 3 of the License, or" + System.getProperty("line.separator") … … 758 757 } 759 758 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; 761 765 } 762 766 public String getGPLLicense() { … … 766 770 return licenseFAQ + 767 771 "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 + 769 775 "F. Full GPL License: (will also be included with your submission)" + System.getProperty("line.separator") + System.getProperty("line.separator") + 770 776 gplLicense;