The GDSoundController is a controller used to play and manage sounds. More...
#import <GDSoundController.h>
Public Member Functions | |
| (void) | - clearCache |
| Clears cache of sounds that were played once and retained for later use. | |
| (void) | - pop |
| Play the "Pop" sound at default volume. | |
| (void) | - popAtVolume: |
| Play the "Pop" sound at the specified volume. | |
Protected Attributes | |
| NSSound * | popSound |
| Reference to a pop sound ([NSSound soundNamed:@"Pop"]). | |
The GDSoundController is a controller used to play and manage sounds.
| - (void) popAtVolume: | (float) | _volume |
Play the "Pop" sound at the specified volume.
| _volume | The desired volume (0-1). |