Searched refs:offers (Results 1 - 7 of 7) sorted by last modified time

/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp2280 const NBAIO_Format offers[1] = {Format_from_SR_C(mSampleRate, mChannelCount)}; local
2281 ssize_t index = mOutputSink->negotiate(offers, 1, NULL, numCounterOffers);
2306 const NBAIO_Format offers[1] = {format}; local
2308 ssize_t index = monoPipe->negotiate(offers, 1, NULL, numCounterOffers);
2318 index = teeSink->negotiate(offers, 1, NULL, numCounterOffers);
2323 index = teeSource->negotiate(offers, 1, NULL, numCounterOffers);
/frameworks/av/include/media/nbaio/
H A DAudioStreamInSource.h34 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
H A DAudioStreamOutSink.h34 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
H A DNBAIO.h37 // doesn't accept offers, and proposes counter-offers
46 // data source, exchanging prioritized arrays of offers and counter-offers until a single offer is
91 // offers[0] to offers[numOffers - 1]. If offeree accepts one of these formats, it returns
93 // counter-offers (up to a maximumum of the entry value of numCounterOffers), fills in the
94 // provided array counterOffers[] with its counter-offers, in descending order of preference
96 // Note that since the offerer allocates space for counter-offers, but only the offeree knows
97 // how many counter-offers i
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp40 ssize_t AudioStreamInSource::negotiate(const NBAIO_Format offers[], size_t numOffers, argument
54 return NBAIO_Source::negotiate(offers, numOffers, counterOffers, numCounterOffers);
H A DAudioStreamOutSink.cpp37 ssize_t AudioStreamOutSink::negotiate(const NBAIO_Format offers[], size_t numOffers, argument
51 return NBAIO_Sink::negotiate(offers, numOffers, counterOffers, numCounterOffers);
H A DNBAIO.cpp168 ssize_t NBAIO_Port::negotiate(const NBAIO_Format offers[], size_t numOffers, argument
171 ALOGV("negotiate offers=%p numOffers=%u countersOffers=%p numCounterOffers=%u",
172 offers, numOffers, counterOffers, numCounterOffers);
175 if (offers[i] == mFormat) {

Completed in 120 milliseconds