History

My first initial commit with all of mine experimental changes.

Dmitry Kabak (userdima committed 13 years ago

Commit d37b88d1 parent 3f5b46618352 files · +2598093 −-8690Browse files

Showing the changes to java/pkg2/java/applet/AudioClip.java (1 of 18352 files). Show all

Unified · Split

java/pkg2/java/applet/AudioClip.java+53−0
@@ -0,0 +1,53 @@
1/*
2 * Copyright (c) 1995, 1997, Oracle and/or its affiliates. All rights reserved.
3 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4 *
5 *
6 *
7 *
8 *
9 *
10 *
11 *
12 *
13 *
14 *
15 *
16 *
17 *
18 *
19 *
20 *
21 *
22 *
23 *
24 */
25
26package java.applet;
27
28/**
29 * The <code>AudioClip</code> interface is a simple abstraction for
30 * playing a sound clip. Multiple <code>AudioClip</code> items can be
31 * playing at the same time, and the resulting sound is mixed
32 * together to produce a composite.
33 *
34 * @author Arthur van Hoff
35 * @since JDK1.0
36 */
37public interface AudioClip {
38 /**
39 * Starts playing this audio clip. Each time this method is called,
40 * the clip is restarted from the beginning.
41 */
42 void play();
43
44 /**
45 * Starts playing this audio clip in a loop.
46 */
47 void loop();
48
49 /**
50 * Stops playing this audio clip.
51 */
52 void stop();
53}