Lines Matching refs:rv
437 status_t rv;
467 rv = fRoster->GetLiveNodes(&info[0], &count,
471 if (rv != B_OK || count < 1) {
539 status_t rv;
567 rv = fRoster->GetLiveNodes(&info[0], &count, &input, NULL, NULL,
569 if (rv == B_OK && count >= 1) {
602 status_t rv;
608 rv = fRoster->GetLiveNodes(&info, &count, NULL, NULL, NULL,
610 if (rv != B_OK || count != 1) {
634 status_t rv;
639 rv = fRoster->GetNodeFor(fPhysicalAudioOut, &soundcard);
640 if (rv != B_OK) {
646 rv = fRoster->GetNodeFor(fAudioMixer, &mixer);
647 if (rv != B_OK) {
656 rv = fRoster->GetFreeOutputsFor(mixer, &output, 1, &count,
658 if (rv != B_OK || count != 1) {
660 rv = B_ERROR;
664 rv = fRoster->GetFreeInputsFor(soundcard, inputs, MAX_INPUT_INFOS, &count,
666 if (rv != B_OK || count < 1) {
668 rv = B_ERROR;
732 rv = fRoster->Connect(output.source, input.destination, &format,
734 if (rv == B_OK)
737 if (rv != B_OK) {
761 return rv;