Home
last modified time | relevance | path

Searched refs:NBAIO_Format (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/media/libnbaio/include_mono/media/nbaio/
DNBAIO.h59 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 …]
DMonoPipe.h44 MonoPipe(size_t reqFrames, const NBAIO_Format& format, bool writeCanBlock = false);
/frameworks/av/media/libnbaio/
DNBAIO.cpp25 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()
DAudioStreamInSource.cpp42 ssize_t AudioStreamInSource::negotiate(const NBAIO_Format offers[], size_t numOffers, in negotiate()
43 NBAIO_Format counterOffers[], size_t& numCounterOffers) in negotiate()
DAudioStreamOutSink.cpp40 ssize_t AudioStreamOutSink::negotiate(const NBAIO_Format offers[], size_t numOffers, in negotiate()
41 NBAIO_Format counterOffers[], size_t& numCounterOffers) in negotiate()
DPipe.cpp28 Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer) : in Pipe()
DSourceAudioBufferProvider.cpp33 NBAIO_Format counterOffers[1]; in SourceAudioBufferProvider()
DAudioBufferProviderSource.cpp27 const NBAIO_Format& format) : in AudioBufferProviderSource()
DMonoPipe.cpp32 MonoPipe::MonoPipe(size_t reqFrames, const NBAIO_Format& format, bool writeCanBlock) : in MonoPipe()
/frameworks/av/media/libnbaio/include/media/nbaio/
DAudioStreamOutSink.h35 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
36 NBAIO_Format counterOffers[], size_t& numCounterOffers);
DAudioStreamInSource.h35 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
36 NBAIO_Format counterOffers[], size_t& numCounterOffers);
DPipe.h36 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
DAudioBufferProviderSource.h30 AudioBufferProviderSource(AudioBufferProvider *provider, const NBAIO_Format& format);
/frameworks/av/services/audioflinger/
DNBAIO_Tee.h125 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)
DFastCapture.h60 NBAIO_Format mFormat;
DFastMixer.h93 NBAIO_Format mFormat;
DNBAIO_Tee.cpp201 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()
DFastCapture.cpp98 NBAIO_Format previousFormat = mFormat; in onStateChange()
DFastMixer.cpp231 NBAIO_Format previousFormat = mFormat; in onStateChange()
DThreads.cpp4478 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()