source: trunk/src_apollo/org/apollo/util/TrackModelHandler.java@ 315

Last change on this file since 315 was 315, checked in by bjn8, 16 years ago

Apollo spin-off added

File size: 664 bytes
Line 
1package org.apollo.util;
2
3import org.apollo.audio.SampledTrackModel;
4
5/**
6 * A work around for sharing SampledTrackModel references - avoids loading multiple copies of the same audio
7 * file and thus can enforce single playback of one audio file at a time.
8 *
9 * @author Brook Novak
10 *
11 */
12public interface TrackModelHandler {
13 /**
14 * The contract is that any reference that is / will be available through this instance must be
15 * returned to avoid double loading of the same tracks.
16 *
17 * This can be called from any thread...
18 *
19 * @param localFileName
20 *
21 * @return
22 */
23 public SampledTrackModel getSharedSampledTrackModel(String localFileName);
24}
Note: See TracBrowser for help on using the repository browser.