|
JubeatPlus 3.9.11
|
Starts sound effects and stops them together. More...
#include <SEManager.h>


Instance Methods | |
| (instancetype) | - init |
| Builds the manager with room for thirty-two players. | |
| (void) | - play: |
| Starts a player and takes ownership of its delegate callbacks. | |
| (void) | - stopAll |
| Stops everything currently playing and forgets it. | |
| (void) | - audioPlayerDidFinishPlaying:successfully: |
| Forgets a player that has finished. | |
| (void) | - audioPlayerDecodeErrorDidOccur:error: |
| Inert. | |
| (void) | - audioPlayerBeginInterruption: |
| Forgets a player the system has interrupted. | |
Starts sound effects and stops them together.
| - (void) audioPlayerBeginInterruption: | (AVAudioPlayer *) | player |
Forgets a player the system has interrupted.
The player is dropped from the set but not stopped — the interruption has already silenced it, and nothing here can resume it afterwards.
| player | The interrupted player. |
| - (void) audioPlayerDecodeErrorDidOccur: | (AVAudioPlayer *) | player | |
| error: | (nullable NSError *) | error |
Inert.
The body is a single ret .
| player | Ignored. |
| error | Ignored. |
| - (void) audioPlayerDidFinishPlaying: | (AVAudioPlayer *) | player | |
| successfully: | (BOOL) | flag |
Forgets a player that has finished.
The success flag is not consulted, so a player that failed is forgotten just the same.
| player | The finished player. |
| flag | Whether playback completed. Ignored. |
| - (instancetype) init |
Builds the manager with room for thirty-two players.
| - (void) play: | (nullable AVAudioPlayer *) | player |
Starts a player and takes ownership of its delegate callbacks.
A player that refuses to start is neither tracked nor made to report back.
| player | The player to start. |
| - (void) stopAll |
Stops everything currently playing and forgets it.