Home
last modified time | relevance | path

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

/frameworks/av/include/media/nbaio/
DNBAIO.h54 typedef unsigned NBAIO_Format; typedef
60 size_t Format_frameSize(NBAIO_Format format);
63 size_t Format_frameBitShift(NBAIO_Format format);
66 NBAIO_Format Format_from_SR_C(unsigned sampleRate, unsigned channelCount);
69 unsigned Format_sampleRate(NBAIO_Format format);
72 unsigned Format_channelCount(NBAIO_Format format);
109 virtual ssize_t negotiate(const NBAIO_Format offers[], size_t numOffers,
110 NBAIO_Format counterOffers[], size_t& numCounterOffers);
114 virtual NBAIO_Format format() const { return mNegotiated ? mFormat : Format_Invalid; } in format()
117 NBAIO_Port(NBAIO_Format format) : mNegotiated(false), mFormat(format), in NBAIO_Port()
[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.h33 Pipe(size_t maxFrames, NBAIO_Format format);
DAudioBufferProviderSource.h30 AudioBufferProviderSource(AudioBufferProvider *provider, NBAIO_Format format);
DMonoPipe.h41 MonoPipe(size_t reqFrames, NBAIO_Format format, bool writeCanBlock = false);
/frameworks/av/media/libnbaio/
DNBAIO.cpp25 size_t Format_frameSize(NBAIO_Format format) in Format_frameSize()
30 size_t Format_frameBitShift(NBAIO_Format format) in Format_frameBitShift()
54 unsigned Format_sampleRate(NBAIO_Format format) in Format_sampleRate()
81 unsigned Format_channelCount(NBAIO_Format format) in Format_channelCount()
96 NBAIO_Format Format_from_SR_C(unsigned sampleRate, unsigned channelCount) in Format_from_SR_C()
98 NBAIO_Format format; in Format_from_SR_C()
214 ssize_t NBAIO_Port::negotiate(const NBAIO_Format offers[], size_t numOffers, in negotiate()
215 NBAIO_Format counterOffers[], size_t& numCounterOffers) in negotiate()
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, NBAIO_Format format) : in Pipe()
DSourceAudioBufferProvider.cpp33 NBAIO_Format counterOffers[1]; in SourceAudioBufferProvider()
DAudioBufferProviderSource.cpp27 NBAIO_Format format) : in AudioBufferProviderSource()
DMonoPipe.cpp33 MonoPipe::MonoPipe(size_t reqFrames, NBAIO_Format format, bool writeCanBlock) : in MonoPipe()
/frameworks/wilhelm/tests/sandbox/
Dplaybq.c240 const android::NBAIO_Format nbaio_format = android::Format_from_SR_C(44100, sfinfo.channels); in main()
459 android::NBAIO_Format offer = nbaio_format; in main()
Dplaybq.cpp240 const android::NBAIO_Format nbaio_format = android::Format_from_SR_C(44100, sfinfo.channels); in main()
459 android::NBAIO_Format offer = nbaio_format; in main()
/frameworks/av/services/audioflinger/
DFastMixer.cpp71 NBAIO_Format format = Format_Invalid; in threadLoop()
213 NBAIO_Format previousFormat = format; in threadLoop()
DAudioFlinger.cpp1643 NBAIO_Format format = Format_from_SR_C(inStream->common.get_sample_rate(&inStream->common), in openInput()
1662 const NBAIO_Format offers[1] = {format}; in openInput()
2320 NBAIO_Format format = teeSource->format(); in dumpTee()
DTracks.cpp146 NBAIO_Format pipeFormat = Format_from_SR_C(mSampleRate, mChannelCount); in TrackBase()
150 const NBAIO_Format offers[1] = {pipeFormat}; in TrackBase()
DThreads.cpp2085 const NBAIO_Format offers[1] = {Format_from_SR_C(mSampleRate, mChannelCount)}; in MixerThread()
2106 NBAIO_Format format = mOutputSink->format(); in MixerThread()
2111 const NBAIO_Format offers[1] = {format}; in MixerThread()