Lines Matching refs:prod
250 BMidiProducer* prod = new BMidiProducer();
251 prod->fName = name;
252 prod->fId = id;
253 prod->fIsRegistered = isRegistered;
254 *(prod->fProperties) = properties;
255 AddEndpoint(prod);
342 BMidiProducer* prod = (BMidiProducer*) endp1;
348 prod->ConnectionMade(cons);
350 prod->ConnectionBroken(cons);
354 ConnectionEvent(prod, cons, mustConnect);
484 BMidiProducer* prod = (BMidiProducer*) endp;
485 if (prod->LockProducer()) {
486 for (int32 k = 0; k < prod->CountConsumers(); ++k) {
487 ConnectionEvent(prod, prod->ConsumerAt(k), true);
489 prod->UnlockProducer();
519 BMidiProducer* prod, BMidiConsumer* cons, bool mustConnect)
522 ASSERT(prod != NULL)
527 notify.AddInt32("be:producer", prod->ID());
552 BMidiProducer* prod = (BMidiProducer*) endp;
553 if (prod->ConnectionBroken(cons)) {
555 ConnectionEvent(prod, cons, false);
564 BMidiRosterLooper::DisconnectDeadProducer(BMidiProducer* prod)
566 ASSERT(prod != NULL)
572 if (prod->IsRemote() && (fWatcher != NULL)) {
573 for (int32 t = 0; t < prod->CountConsumers(); ++t) {
574 ConnectionEvent(prod, prod->ConsumerAt(t), false);
624 BMidiProducer* prod = (BMidiProducer*) endp;
625 if (prod->LockProducer()) {
627 for (int32 k = 0; k < prod->CountConsumers(); ++k) {
628 BMidiConsumer* cons = prod->ConsumerAt(k);
631 prod->UnlockProducer();