MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / start

Method start

engine/source/platformiOS/iOSStreamSource.cc:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46bool iOSStreamSource::start( bool loop ) {
47 SoundEngine::SoundEngine_LoadBackgroundMusicTrack( mFilename, true, false );
48 SoundEngine::SoundEngine_StartBackgroundMusic();
49 if( !loop ) {
50 //stop at end
51 SoundEngine::SoundEngine_StopBackgroundMusic( true );
52 Con::executef(1,"oniOSStreamEnd");
53 }
54 return true;
55}
56
57bool iOSStreamSource::stop() {
58 //false == stop now

Callers 6

FindFirstInLineFunction · 0.45
ParseTokenFunction · 0.45
SkipFunction · 0.45
SkipUntilFunction · 0.45
startMusicTrackMethod · 0.45

Calls 1

executefFunction · 0.85

Tested by

no test coverage detected