Searched refs:NBAIO_Format (Results 1 – 20 of 20) sorted by relevance
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
D | NBAIO.h | 59 struct NBAIO_Format { struct 68 extern const NBAIO_Format Format_Invalid; argument 71 size_t Format_frameSize(const NBAIO_Format& format); 75 NBAIO_Format Format_from_SR_C(unsigned sampleRate, unsigned channelCount, audio_format_t format); 78 unsigned Format_sampleRate(const NBAIO_Format& format); 81 unsigned Format_channelCount(const NBAIO_Format& format); 88 bool Format_isValid(const NBAIO_Format& format); 91 bool Format_isEqual(const NBAIO_Format& format1, const NBAIO_Format& format2); 123 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers, 124 NBAIO_Format counterOffers[], size_t& numCounterOffers); [all …]
|
D | MonoPipe.h | 44 MonoPipe(size_t reqFrames, const NBAIO_Format& format, bool writeCanBlock = false);
|
/frameworks/av/media/libnbaio/ |
D | NBAIO.cpp | 25 size_t Format_frameSize(const NBAIO_Format& format) in Format_frameSize() 30 const NBAIO_Format Format_Invalid = { 0, 0, AUDIO_FORMAT_INVALID, 0 }; 32 unsigned Format_sampleRate(const NBAIO_Format& format) in Format_sampleRate() 40 unsigned Format_channelCount(const NBAIO_Format& format) in Format_channelCount() 48 NBAIO_Format Format_from_SR_C(unsigned sampleRate, unsigned channelCount, in Format_from_SR_C() 54 NBAIO_Format ret; in Format_from_SR_C() 136 ssize_t NBAIO_Port::negotiate(const NBAIO_Format offers[], size_t numOffers, in negotiate() 137 NBAIO_Format counterOffers[], size_t& numCounterOffers) in negotiate() 158 bool Format_isValid(const NBAIO_Format& format) in Format_isValid() 164 bool Format_isEqual(const NBAIO_Format& format1, const NBAIO_Format& format2) in Format_isEqual()
|
D | AudioStreamInSource.cpp | 42 ssize_t AudioStreamInSource::negotiate(const NBAIO_Format offers[], size_t numOffers, in negotiate() 43 NBAIO_Format counterOffers[], size_t& numCounterOffers) in negotiate()
|
D | AudioStreamOutSink.cpp | 40 ssize_t AudioStreamOutSink::negotiate(const NBAIO_Format offers[], size_t numOffers, in negotiate() 41 NBAIO_Format counterOffers[], size_t& numCounterOffers) in negotiate()
|
D | Pipe.cpp | 28 Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer) : in Pipe()
|
D | SourceAudioBufferProvider.cpp | 33 NBAIO_Format counterOffers[1]; in SourceAudioBufferProvider()
|
D | AudioBufferProviderSource.cpp | 27 const NBAIO_Format& format) : in AudioBufferProviderSource()
|
D | MonoPipe.cpp | 32 MonoPipe::MonoPipe(size_t reqFrames, const NBAIO_Format& format, bool writeCanBlock) : in MonoPipe()
|
/frameworks/av/media/libnbaio/include/media/nbaio/ |
D | AudioStreamOutSink.h | 35 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers, 36 NBAIO_Format counterOffers[], size_t& numCounterOffers);
|
D | AudioStreamInSource.h | 35 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers, 36 NBAIO_Format counterOffers[], size_t& numCounterOffers);
|
D | Pipe.h | 36 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
|
D | AudioBufferProviderSource.h | 30 AudioBufferProviderSource(AudioBufferProvider *provider, const NBAIO_Format& format);
|
/frameworks/av/services/audioflinger/ |
D | NBAIO_Tee.h | 125 status_t set(const NBAIO_Format &format, 181 status_t set(const NBAIO_Format &format, TEE_FLAG flags, size_t frames) { in set() 261 const NBAIO_Format &format, size_t frames, bool *enabled); 274 NBAIO_Format mFormat = Format_Invalid; // GUARDED_BY(mLock)
|
D | FastCapture.h | 60 NBAIO_Format mFormat;
|
D | FastMixer.h | 93 NBAIO_Format mFormat;
|
D | NBAIO_Tee.cpp | 201 const NBAIO_Format format = source->format(); in dumpTee() 227 const NBAIO_Format &format, size_t frames, bool *enabled) in makeSinkSource() 232 const NBAIO_Format offers[1] = {format}; in makeSinkSource()
|
D | FastCapture.cpp | 98 NBAIO_Format previousFormat = mFormat; in onStateChange()
|
D | FastMixer.cpp | 231 NBAIO_Format previousFormat = mFormat; in onStateChange()
|
D | Threads.cpp | 4478 const NBAIO_Format offers[1] = {Format_from_SR_C( in MixerThread() 4527 NBAIO_Format format = mOutputSink->format(); in MixerThread() 4538 const NBAIO_Format offers[1] = {format}; in MixerThread() 7025 const NBAIO_Format offers[1] = {Format_from_SR_C(mSampleRate, mChannelCount, mFormat)}; in RecordThread() 7056 NBAIO_Format format = mInputSource->format(); in RecordThread() 7075 const NBAIO_Format offers[1] = {format}; in RecordThread()
|