Lines Matching defs:sound
400 /*! Returns the current performance time of the sound player node
440 BSoundPlayer::StartPlaying(BSound* sound, bigtime_t atTime)
442 return StartPlaying(sound, atTime, 1.0);
447 BSoundPlayer::StartPlaying(BSound* sound, bigtime_t atTime, float withVolume)
457 item->sound = sound;
468 sound->AcquireRef();
537 item->sound->ReleaseRef();
569 waitSem = item->wait_sem = create_sem(0, "wait for sound");
684 // TODO: support more than one sound and make use of the format parameter
691 playing_sound *sound = player->fPlayingSounds;
692 if (sound == NULL) {
700 if (!sound->sound->GetDataAt(sound->current_offset, buffer, size, &used)) {
702 player->StopPlaying(sound->id);
708 sound->current_offset += used;