Class OALSourceAdapter
java.lang.Object
com.blackrook.gloop.openal.OALSourceAdapter
- All Implemented Interfaces:
OALSourceListener
Adapter class with methods that do nothing for easy listener implementation.
- Author:
- Matthew Tropiano
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsourceBufferDequeued(OALSource source, OALBuffer buffer) Called when a Source gets a buffer dequeued from it.voidsourceBufferEnqueued(OALSource source, OALBuffer buffer) Called when a Source gets a buffer enqueued on it.voidsourcePaused(OALSource source) Called when a Source is paused.voidsourcePlayed(OALSource source) Called when a Source is played.voidsourceRewound(OALSource source) Called when a Source is rewound.voidsourceStopped(OALSource source) Called when a Source is stopped, NOT when it stops naturally.
-
Constructor Details
-
OALSourceAdapter
public OALSourceAdapter()
-
-
Method Details
-
sourceBufferDequeued
Description copied from interface:OALSourceListenerCalled when a Source gets a buffer dequeued from it.- Specified by:
sourceBufferDequeuedin interfaceOALSourceListener- Parameters:
source- the source that this occurred on.buffer- the buffer dequeued.
-
sourceBufferEnqueued
Description copied from interface:OALSourceListenerCalled when a Source gets a buffer enqueued on it.- Specified by:
sourceBufferEnqueuedin interfaceOALSourceListener- Parameters:
source- the source that this occurred on.buffer- the buffer enqueued.
-
sourcePaused
Description copied from interface:OALSourceListenerCalled when a Source is paused.- Specified by:
sourcePausedin interfaceOALSourceListener- Parameters:
source- the source that this occurred on.
-
sourcePlayed
Description copied from interface:OALSourceListenerCalled when a Source is played.- Specified by:
sourcePlayedin interfaceOALSourceListener- Parameters:
source- the source that this occurred on.
-
sourceRewound
Description copied from interface:OALSourceListenerCalled when a Source is rewound.- Specified by:
sourceRewoundin interfaceOALSourceListener- Parameters:
source- the source that this occurred on.
-
sourceStopped
Description copied from interface:OALSourceListenerCalled when a Source is stopped, NOT when it stops naturally.- Specified by:
sourceStoppedin interfaceOALSourceListener- Parameters:
source- the source that this occurred on.
-