Searched refs:NBAIO_Format (Results 1 – 20 of 20) sorted by relevance
/frameworks/av/include/media/nbaio/ |
D | NBAIO.h | 56 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 …]
|
D | AudioStreamOutSink.h | 34 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers, 35 NBAIO_Format counterOffers[], size_t& numCounterOffers);
|
D | AudioStreamInSource.h | 34 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers, 35 NBAIO_Format counterOffers[], size_t& numCounterOffers);
|
D | Pipe.h | 35 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
|
D | AudioBufferProviderSource.h | 30 AudioBufferProviderSource(AudioBufferProvider *provider, const NBAIO_Format& format);
|
D | MonoPipe.h | 43 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 | 40 ssize_t AudioStreamInSource::negotiate(const NBAIO_Format offers[], size_t numOffers, in negotiate() 41 NBAIO_Format counterOffers[], size_t& numCounterOffers) in negotiate()
|
D | AudioStreamOutSink.cpp | 37 ssize_t AudioStreamOutSink::negotiate(const NBAIO_Format offers[], size_t numOffers, in negotiate() 38 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 | 33 MonoPipe::MonoPipe(size_t reqFrames, const NBAIO_Format& format, bool writeCanBlock) : in MonoPipe()
|
/frameworks/av/services/audioflinger/ |
D | FastCapture.h | 60 NBAIO_Format mFormat;
|
D | FastMixer.h | 79 NBAIO_Format mFormat;
|
D | FastCapture.cpp | 97 NBAIO_Format previousFormat = mFormat; in onStateChange()
|
D | FastMixer.cpp | 152 NBAIO_Format previousFormat = mFormat; in onStateChange()
|
D | Tracks.cpp | 186 NBAIO_Format pipeFormat = Format_from_SR_C(mSampleRate, mChannelCount, mFormat); in TrackBase() 190 const NBAIO_Format offers[1] = {pipeFormat}; in TrackBase()
|
D | Threads.cpp | 3457 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()
|
D | AudioFlinger.cpp | 2158 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()
|