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

/frameworks/av/include/media/nbaio/
H A DAudioStreamInSource.h35 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
H A DAudioStreamOutSink.h35 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
H A DNBAIO.h39 // the offeree doesn't accept offers, and proposes
40 // counter-offers
51 // data source, exchanging prioritized arrays of offers and counter-offers until a single offer is
103 // offers[0] to offers[numOffers - 1]. If offeree accepts one of these formats, it returns
105 // counter-offers (up to a maximumum of the entry value of numCounterOffers), fills in the
106 // provided array counterOffers[] with its counter-offers, in descending order of preference
108 // Note that since the offerer allocates space for counter-offers, but only the offeree knows
109 // how many counter-offers i
[all...]
/frameworks/av/media/libnbaio/include/media/nbaio/
H A DAudioStreamInSource.h35 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
H A DAudioStreamOutSink.h35 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp42 ssize_t AudioStreamInSource::negotiate(const NBAIO_Format offers[], size_t numOffers, argument
58 return NBAIO_Source::negotiate(offers, numOffers, counterOffers, numCounterOffers);
H A DAudioStreamOutSink.cpp40 ssize_t AudioStreamOutSink::negotiate(const NBAIO_Format offers[], size_t numOffers, argument
56 return NBAIO_Sink::negotiate(offers, numOffers, counterOffers, numCounterOffers);
H A DNBAIO.cpp136 ssize_t NBAIO_Port::negotiate(const NBAIO_Format offers[], size_t numOffers, argument
139 ALOGV("negotiate offers=%p numOffers=%zu countersOffers=%p numCounterOffers=%zu",
140 offers, numOffers, counterOffers, numCounterOffers);
143 if (Format_isEqual(offers[i], mFormat)) {
/frameworks/av/media/libnbaio/include_mono/media/nbaio/
H A DNBAIO.h39 // the offeree doesn't accept offers, and proposes
40 // counter-offers
51 // data source, exchanging prioritized arrays of offers and counter-offers until a single offer is
103 // offers[0] to offers[numOffers - 1]. If offeree accepts one of these formats, it returns
105 // counter-offers (up to a maximumum of the entry value of numCounterOffers), fills in the
106 // provided array counterOffers[] with its counter-offers, in descending order of preference
108 // Note that since the offerer allocates space for counter-offers, but only the offeree knows
109 // how many counter-offers i
[all...]
/frameworks/av/services/audioflinger/
H A DTracks.cpp215 const NBAIO_Format offers[1] = {pipeFormat}; local
216 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers);
220 index = pipeReader->negotiate(offers, 1, NULL, numCounterOffers);
H A DThreads.cpp3615 const NBAIO_Format offers[1] = {Format_from_SR_C(mSampleRate, mChannelCount, mFormat)}; local
3621 mOutputSink->negotiate(offers, 1, NULL, numCounterOffers);
3676 const NBAIO_Format offers[1] = {format};
3683 monoPipe->negotiate(offers, 1, NULL, numCounterOffers);
5984 const NBAIO_Format offers[1] = {Format_from_SR_C(mSampleRate, mChannelCount, mFormat)}; local
5990 mInputSource->negotiate(offers, 1, NULL, numCounterOffers);
6034 const NBAIO_Format offers[1] = {format}; local
6036 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers);
6041 index = pipeReader->negotiate(offers, 1, NULL, numCounterOffers);
H A DAudioFlinger.cpp2326 const NBAIO_Format offers[1] = {format}; local
2327 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers);
2331 index = pipeReader->negotiate(offers, 1, NULL, numCounterOffers);

Completed in 146 milliseconds