Home
last modified time | relevance | path

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

/frameworks/av/include/media/nbaio/
DNBAIO.h56 struct NBAIO_Format { struct
65 extern const NBAIO_Format Format_Invalid; argument
68 size_t Format_frameSize(const NBAIO_Format& format);
72 NBAIO_Format Format_from_SR_C(unsigned sampleRate, unsigned channelCount, audio_format_t format);
75 unsigned Format_sampleRate(const NBAIO_Format& format);
78 unsigned Format_channelCount(const NBAIO_Format& format);
85 bool Format_isValid(const NBAIO_Format& format);
88 bool Format_isEqual(const NBAIO_Format& format1, const NBAIO_Format& format2);
120 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
121 NBAIO_Format counterOffers[], size_t& numCounterOffers);
[all …]
DAudioStreamOutSink.h34 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
35 NBAIO_Format counterOffers[], size_t& numCounterOffers);
DAudioStreamInSource.h34 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
35 NBAIO_Format counterOffers[], size_t& numCounterOffers);
DPipe.h35 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
DAudioBufferProviderSource.h30 AudioBufferProviderSource(AudioBufferProvider *provider, const NBAIO_Format& format);
DMonoPipe.h43 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.cpp40 ssize_t AudioStreamInSource::negotiate(const NBAIO_Format offers[], size_t numOffers, in negotiate()
41 NBAIO_Format counterOffers[], size_t& numCounterOffers) in negotiate()
DAudioStreamOutSink.cpp37 ssize_t AudioStreamOutSink::negotiate(const NBAIO_Format offers[], size_t numOffers, in negotiate()
38 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.cpp33 MonoPipe::MonoPipe(size_t reqFrames, const NBAIO_Format& format, bool writeCanBlock) : in MonoPipe()
/frameworks/av/services/audioflinger/
DFastCapture.h60 NBAIO_Format mFormat;
DFastMixer.h79 NBAIO_Format mFormat;
DFastCapture.cpp97 NBAIO_Format previousFormat = mFormat; in onStateChange()
DFastMixer.cpp152 NBAIO_Format previousFormat = mFormat; in onStateChange()
DTracks.cpp186 NBAIO_Format pipeFormat = Format_from_SR_C(mSampleRate, mChannelCount, mFormat); in TrackBase()
190 const NBAIO_Format offers[1] = {pipeFormat}; in TrackBase()
DThreads.cpp3457 const NBAIO_Format offers[1] = {Format_from_SR_C(mSampleRate, mChannelCount, mFormat)}; in MixerThread()
3497 NBAIO_Format format = mOutputSink->format(); in MixerThread()
3499 NBAIO_Format origformat = format; in MixerThread()
3510 const NBAIO_Format offers[1] = {format}; in MixerThread()
3527 const NBAIO_Format offers2[1] = {origformat}; in MixerThread()
5688 const NBAIO_Format offers[1] = {Format_from_SR_C(mSampleRate, mChannelCount, mFormat)}; in RecordThread()
5714 NBAIO_Format format = mInputSource->format(); in RecordThread()
5729 const NBAIO_Format offers[1] = {format}; in RecordThread()
DAudioFlinger.cpp2158 NBAIO_Format format = Format_from_SR_C(halconfig.sample_rate, in openInput_l()
2177 const NBAIO_Format offers[1] = {format}; in openInput_l()
3057 NBAIO_Format format = teeSource->format(); in dumpTee()