Changeset 359
- Timestamp:
- 10/10/08 10:34:23 (16 years ago)
- Location:
- trunk/src_apollo/org/apollo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src_apollo/org/apollo/audio/structure/AudioStructureModel.java
r355 r359 608 608 NullableLong initTime = (tinf != null) ? new NullableLong(tinf.getInitiationTime()) : 609 609 NullableLong.fromLong(sampledTrackWidget.getInitiationTimeFromMeta()); 610 if (initTime != null && initTime.getLongValue() < 0) initTime = null; // signify to load default from frame 611 610 612 611 long runningTime = sampledTrackWidget.getRunningMSTimeFromRawAudio(); 613 612 if (runningTime <= 0) runningTime = -1; // signify to load from file -
trunk/src_apollo/org/apollo/widgets/SampledTrack.java
r358 r359 803 803 // Nullify 804 804 if (!f.exists() || !f.isFile()) f = null; 805 806 805 807 806 } 808 807 … … 1056 1055 // Dump memory to a temp file 1057 1056 try { 1057 1058 1058 // Always be unique 1059 1059 String uniqueID = AudioPathManager.generateLocateFileName("wav"); 1060 1060 recoveryFile = File.createTempFile("APOLLO_BACKUP" + uniqueID, null); 1061 1062 // To avoid filling up the end-users hardisk, mark file to be 1063 // deleted on exit (if not already deleted). 1064 recoveryFile.deleteOnExit(); 1061 1065 1062 1066 } catch (IOException e) {
Note:
See TracChangeset
for help on using the changeset viewer.