Searched refs:numCounterOffers (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/media/libnbaio/
H A DSourceAudioBufferProvider.cpp34 size_t numCounterOffers = 1; local
35 ssize_t index = source->negotiate(NULL, 0, counterOffers, numCounterOffers);
36 ALOG_ASSERT(index == (ssize_t) NEGOTIATE && numCounterOffers > 0);
37 numCounterOffers = 0;
38 index = source->negotiate(counterOffers, 1, NULL, numCounterOffers);
H A DAudioStreamInSource.cpp41 NBAIO_Format counterOffers[], size_t& numCounterOffers)
53 return NBAIO_Source::negotiate(offers, numOffers, counterOffers, numCounterOffers);
40 negotiate(const NBAIO_Format offers[], size_t numOffers, NBAIO_Format counterOffers[], size_t& numCounterOffers) argument
H A DNBAIO.cpp137 NBAIO_Format counterOffers[], size_t& numCounterOffers)
139 ALOGV("negotiate offers=%p numOffers=%zu countersOffers=%p numCounterOffers=%zu",
140 offers, numOffers, counterOffers, numCounterOffers);
148 if (numCounterOffers > 0) {
151 numCounterOffers = 1;
153 numCounterOffers = 0;
136 negotiate(const NBAIO_Format offers[], size_t numOffers, NBAIO_Format counterOffers[], size_t& numCounterOffers) argument
H A DAudioStreamOutSink.cpp38 NBAIO_Format counterOffers[], size_t& numCounterOffers)
50 return NBAIO_Sink::negotiate(offers, numOffers, counterOffers, numCounterOffers);
37 negotiate(const NBAIO_Format offers[], size_t numOffers, NBAIO_Format counterOffers[], size_t& numCounterOffers) argument
/frameworks/av/include/media/nbaio/
H A DAudioStreamOutSink.h35 NBAIO_Format counterOffers[], size_t& numCounterOffers);
H A DAudioStreamInSource.h35 NBAIO_Format counterOffers[], size_t& numCounterOffers);
H A DNBAIO.h101 // the index of that offer. Otherwise, offeree sets numCounterOffers to the number of
102 // counter-offers (up to a maximumum of the entry value of numCounterOffers), fills in the
104 // from counterOffers[0] to counterOffers[numCounterOffers - 1], and returns NEGOTIATE.
107 // In that case, the offeree sets numCounterOffers to the requested number of counter-offers
108 // (which is greater than the entry value of numCounterOffers), fills in as many of the most
114 // In this case, the offerree should set numCounterOffers appropriately and return NEGOTIATE.
121 NBAIO_Format counterOffers[], size_t& numCounterOffers);
/frameworks/av/services/audioflinger/
H A DTracks.cpp189 size_t numCounterOffers = 0; local
191 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers);
194 numCounterOffers = 0;
195 index = pipeReader->negotiate(offers, 1, NULL, numCounterOffers);
H A DThreads.cpp3456 size_t numCounterOffers = 0; local
3463 mOutputSink->negotiate(offers, 1, NULL, numCounterOffers);
3511 size_t numCounterOffers = 0; local
3517 monoPipe->negotiate(offers, 1, NULL, numCounterOffers);
3528 numCounterOffers = 0;
3529 index = teeSink->negotiate(offers2, 1, NULL, numCounterOffers);
3533 numCounterOffers = 0;
3534 index = teeSource->negotiate(offers2, 1, NULL, numCounterOffers);
5687 size_t numCounterOffers = 0; local
5694 mInputSource->negotiate(offers, 1, NULL, numCounterOffers);
5730 size_t numCounterOffers = 0; local
[all...]
H A DAudioFlinger.cpp2176 size_t numCounterOffers = 0; local
2178 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers);
2181 numCounterOffers = 0;
2182 index = pipeReader->negotiate(offers, 1, NULL, numCounterOffers);

Completed in 3216 milliseconds