Lines Matching defs:sound
84 BSimpleGameSound * sound = new BSimpleGameSound(&file);
86 if (sound->InitCheck() == B_OK)
87 fWin->SetSound(sound);
89 delete sound;
107 // Add the button which start and stop playback of the choosen sound
118 // Control the sound's volumn (gain)
128 // Control the sound's pan
215 void SimpleSoundWin::SetSound(BSimpleGameSound * sound)
219 // enable the Start button if we were given a valid sound
222 fStart->SetEnabled((sound != NULL));
229 fSound = sound;