Lines Matching refs:sID
95 this.load = function(sID,oOptions) { argument
96 if (!self._idCheck(sID)) return false;
97 self.sounds[sID].load(oOptions);
100 this.unload = function(sID) { argument
101 if (!self._idCheck(sID)) return false;
102 self.sounds[sID].unload();
105 this.play = function(sID,oOptions) { argument
106 if (!self._idCheck(sID)) {
110 self._writeDebug('soundController.play(): attempting to create "'+sID+'"');
111 oOptions.id = sID;
117 self.sounds[sID].play(oOptions);
122 this.setPosition = function(sID,nMsecOffset) { argument
123 if (!self._idCheck(sID)) return false;
124 self.sounds[sID].setPosition(nMsecOffset);
127 this.stop = function(sID) { argument
128 if (!self._idCheck(sID)) return false;
129 self._writeDebug('soundManager.stop('+sID+')');
130 self.sounds[sID].stop();
139 this.pause = function(sID) { argument
140 if (!self._idCheck(sID)) return false;
141 self.sounds[sID].pause();
144 this.resume = function(sID) { argument
145 if (!self._idCheck(sID)) return false;
146 self.sounds[sID].resume();
149 this.togglePause = function(sID) { argument
150 if (!self._idCheck(sID)) return false;
151 self.sounds[sID].togglePause();
154 this.setPan = function(sID,nPan) { argument
155 if (!self._idCheck(sID)) return false;
156 self.sounds[sID].setPan(nPan);
159 this.setVolume = function(sID,nVol) { argument
160 if (!self._idCheck(sID)) return false;
161 self.sounds[sID].setVolume(nVol);
182 this.getSoundById = function(sID,suppressDebug) { argument
183 if (!sID) throw new Error('SoundManager.getSoundById(): sID is null/undefined');
184 var result = self.sounds[sID];
186 self._writeDebug('"'+sID+'" is an invalid sound ID.');
297 self._writeDebug(self.sounds[self.soundIDs[i]].sID+' | '+self.sounds[self.soundIDs[i]].url);
404 this.sID = oOptions.id;
443 …sm.o._load(self.sID,thisOptions.url,thisOptions.stream,thisOptions.autoPlay,thisOptions.whileloadi…
453 sm.o._unload(self.sID,s5Path+'ui/audio_support/null.mp3');
472 sm._writeDebug('SMSound.play(): "'+self.sID+'" already playing? (one-shot)');
475 sm._writeDebug('SMSound.play(): "'+self.sID+'" already playing (multi-shot)');
480 … sm._writeDebug('SMSound.play(): .play() before load request. Attempting to load "'+self.sID+'"');
488 sm._writeDebug('SMSound.play(): Could not load "'+self.sID+'" - exiting');
491 sm._writeDebug('SMSound.play(): "'+self.sID+'" is loading - attempting to play..');
494 sm._writeDebug('SMSound.play(): "'+self.sID+'"');
505 sm._writeDebug('starting sound '+self.sID);
506 …sm.o._start(self.sID,thisOptions.loop||1,self.position); // TODO: verify !autoPlay doesn't cause i…
518 sm.o._stop(self.sID);
524 …sm.o._setPosition(self.sID,nMsecOffset/1000,self.paused||!self.playState); // if paused or not pla…
531 sm.o._pause(self.sID);
538 sm.o._pause(self.sID); // flash method is toggle-based (pause/resume)
560 sm.o._setPan(self.sID,nPan);
566 sm.o._setVolume(self.sID,nVol);
584 sm._writeDebug('SMSound()._onid3(): "'+this.sID+'" ID3 data received.');
608 …sm._writeDebug('SMSound._onload(): "'+self.sID+'"'+(bSuccess?' loaded.':' failed to load (or loade…
633 sm._writeDebug('SMSound._onfinish(): "'+self.sID+'" finished playing');