Searched refs:offers (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp40 ssize_t AudioStreamInSource::negotiate(const NBAIO_Format offers[], size_t numOffers, argument
53 return NBAIO_Source::negotiate(offers, numOffers, counterOffers, numCounterOffers);
H A DAudioStreamOutSink.cpp37 ssize_t AudioStreamOutSink::negotiate(const NBAIO_Format offers[], size_t numOffers, argument
50 return NBAIO_Sink::negotiate(offers, numOffers, counterOffers, numCounterOffers);
H A DNBAIO.cpp137 ssize_t NBAIO_Port::negotiate(const NBAIO_Format offers[], size_t numOffers, argument
140 ALOGV("negotiate offers=%p numOffers=%zu countersOffers=%p numCounterOffers=%zu",
141 offers, numOffers, counterOffers, numCounterOffers);
144 if (Format_isEqual(offers[i], mFormat)) {
/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.h39 // doesn't accept offers, and proposes counter-offers
48 // data source, exchanging prioritized arrays of offers and counter-offers until a single offer is
101 // offers[0] to offers[numOffers - 1]. If offeree accepts one of these formats, it returns
103 // counter-offers (up to a maximumum of the entry value of numCounterOffers), fills in the
104 // provided array counterOffers[] with its counter-offers, in descending order of preference
106 // Note that since the offerer allocates space for counter-offers, but only the offeree knows
107 // how many counter-offers i
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.cpp2806 const NBAIO_Format offers[1] = {Format_from_SR_C(mSampleRate, mChannelCount, mFormat)}; local
2807 ssize_t index = mOutputSink->negotiate(offers, 1, NULL, numCounterOffers);
2851 const NBAIO_Format offers[1] = {format}; local
2853 ssize_t index = monoPipe->negotiate(offers, 1, NULL, numCounterOffers);
4963 const NBAIO_Format offers[1] = {Format_from_SR_C(mSampleRate, mChannelCount, mFormat)}; local
4964 ssize_t index = mInputSource->negotiate(offers, 1, NULL, numCounterOffers);
5012 const NBAIO_Format offers[1] = {format}; local
5014 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers);
5019 index = pipeReader->negotiate(offers, 1, NULL, numCounterOffers);
H A DTracks.cpp190 const NBAIO_Format offers[1] = {pipeFormat}; local
191 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers);
195 index = pipeReader->negotiate(offers, 1, NULL, numCounterOffers);
H A DAudioFlinger.cpp2049 const NBAIO_Format offers[1] = {format}; local
2050 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers);
2054 index = pipeReader->negotiate(offers, 1, NULL, numCounterOffers);

Completed in 860 milliseconds