Home
last modified time | relevance | path

Searched refs:bitsPerSample (Results 1 – 16 of 16) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
Dconfigbq.c30 SLuint8 bitsPerSample; member
101 format->milliHz / 1000, format->bitsPerSample); in main()
111 format_pcm.bitsPerSample = format->bitsPerSample; in main()
112 format_pcm.containerSize = format->bitsPerSample; in main()
150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) / in main()
155 if (8 == format->bitsPerSample) { in main()
159 assert(16 == format->bitsPerSample); in main()
169 if (8 == format->bitsPerSample) { in main()
172 assert(16 == format->bitsPerSample); in main()
Dplaybq.c46 SLuint32 bitsPerSample = 16; variable
90 if (bitsPerSample == 8) { in callback()
138 bitsPerSample = 8; in main()
275 format_pcm.bitsPerSample = bitsPerSample; in main()
276 format_pcm.containerSize = format_pcm.bitsPerSample; in main()
381 if (bitsPerSample == 8) { in main()
Dsrcsink.c46 format_pcm.bitsPerSample = 16; in main()
135 format_pcm.bitsPerSample = 17; in main()
140 format_pcm.bitsPerSample = 24; in main()
145 format_pcm.bitsPerSample = 16; in main()
Dintbufq.c115 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in main()
/frameworks/base/core/java/android/speech/srec/
DWaveHeader.java73 …public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numByt… in WaveHeader() argument
77 mBitsPerSample = bitsPerSample; in WaveHeader()
152 public WaveHeader setBitsPerSample(short bitsPerSample) { in setBitsPerSample() argument
153 mBitsPerSample = bitsPerSample; in setBitsPerSample()
/frameworks/base/core/java/android/speech/tts/
DFileSynthesisCallback.java208 short bitsPerSample = (short) (sampleSizeInBytes * 8); in makeWavHeader() local
224 header.putShort(bitsPerSample); in makeWavHeader()
/frameworks/wilhelm/src/
Ddata.c399 switch (pDataFormat->mPCM.bitsPerSample) { in checkDataFormat()
414 SL_LOGE("%s: bitsPerSample=%u", name, pDataFormat->mPCM.bitsPerSample); in checkDataFormat()
419 if (pDataFormat->mPCM.containerSize < pDataFormat->mPCM.bitsPerSample) { in checkDataFormat()
421 } else if (pDataFormat->mPCM.containerSize != pDataFormat->mPCM.bitsPerSample) { in checkDataFormat()
427 (unsigned) pDataFormat->mPCM.bitsPerSample); in checkDataFormat()
/frameworks/av/media/libstagefright/
DWAVExtractor.cpp60 int32_t bitsPerSample,
321 int32_t bitsPerSample, in WAVSource() argument
328 mBitsPerSample(bitsPerSample), in WAVSource()
/frameworks/wilhelm/tests/examples/
DslesTestSawtoothBufferQueue.cpp172 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in TestPlaySawtoothBufferQueue()
DslesTestRecBuffQueue.cpp207 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in TestRecToBuffQueue()
DslesTestFeedback.cpp304 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in main()
DslesTestDecodeToBuffQueue.cpp350 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in TestDecToBuffQueue()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp943 switch (df_pcm->bitsPerSample) { in android_audioPlayer_checkSourceSink()
951 (SLuint32)df_pcm->bitsPerSample); in android_audioPlayer_checkSourceSink()
1462 sles_to_android_sampleFormat(df_pcm->bitsPerSample), // format in android_audioPlayer_realize()
/frameworks/wilhelm/tests/automated/
DBufferQueue_test.cpp123 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in SetUp()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h360 SLuint32 bitsPerSample; member
2337 SLuint32 bitsPerSample; member
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h385 XAuint32 bitsPerSample; member
2740 XAuint32 bitsPerSample; member