001/* An interface implemented by objects that are interested in being kept
002 informed about changes in the audio parameter values of LiveSound.
003
004 Copyright (c) 1998-2005 The Regents of the University of California.
005 All rights reserved.
006 Permission is hereby granted, without written agreement and without
007 license or royalty fees, to use, copy, modify, and distribute this
008 software and its documentation for any purpose, provided that the above
009 copyright notice and the following two paragraphs appear in all copies
010 of this software.
011
012 IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
013 FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
014 ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
015 THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
016 SUCH DAMAGE.
017
018 THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
019 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
020 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
021 PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
022 CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
023 ENHANCEMENTS, OR MODIFICATIONS.
024
025 PT_COPYRIGHT_VERSION_2
026 COPYRIGHTENDKEY
027
028 */
029package ptolemy.media.javasound;
030
031////////////////////////////////////////////////////////////////
032//// LiveSoundListener
033
034/**
035 This interface is implemented by objects that are interested
036 in being kept informed about changes in the audio parameters
037 of LiveSound. The listeners register their interest through the
038 addLiveSoundListener() method of LiveSound, and are informed of
039 the changes by receiving instances of the LiveSoundEvent in the
040 liveSoundChanged() method.
041
042 @author Brian K. Vogel
043 @version $Id$
044 @since Ptolemy II 1.0
045 @Pt.ProposedRating Red (vogel)
046 @Pt.AcceptedRating Red
047 @see LiveSoundEvent
048 @see ptolemy.media.javasound.LiveSound
049 */
050public interface LiveSoundListener {
051    /** Notify that the an audio parameter of LiveSound has
052     *  changed.
053     *
054     *  @param event The live sound change event.
055     *
056     */
057    public void liveSoundChanged(LiveSoundEvent event);
058}