/third_party/skia/third_party/externals/oboe/tests/ |
D | testStreamOpen.cpp | 144 mBuilder.setFormat(static_cast<AudioFormat>(666)); in TEST_F() 156 mBuilder.setFormat(static_cast<AudioFormat>(666)); in TEST_F() 241 mBuilder.setFormat(AudioFormat::Unspecified); in TEST_F() 243 ASSERT_EQ(mStream->getFormat(), AudioFormat::I16); in TEST_F() 252 mBuilder.setFormat(AudioFormat::Unspecified); in TEST_F() 254 ASSERT_EQ(mStream->getFormat(), AudioFormat::Float); in TEST_F() 263 mBuilder.setFormat(AudioFormat::Float); in TEST_F() 274 mBuilder.setFormat(AudioFormat::Float); in TEST_F() 276 ASSERT_EQ(mStream->getFormat(), AudioFormat::Float); in TEST_F() 284 mBuilder.setFormat(AudioFormat::I16); in TEST_F() [all …]
|
D | testUtilities.cpp | 33 int32_t sizeInBytes = oboe::convertFormatToSizeInBytes(AudioFormat::I16); in TEST_F() 38 int32_t sizeInBytes = oboe::convertFormatToSizeInBytes(AudioFormat::Float); in TEST_F()
|
D | testStreamClosedMethods.cpp | 97 mBuilder.setFormat(AudioFormat::I16); in TEST_F() 99 ASSERT_EQ(mStream->getFormat(), AudioFormat::I16); in TEST_F() 218 mBuilder.setFormat(AudioFormat::I16); in TEST_F() 240 mBuilder.setFormat(AudioFormat::I16); in TEST_F()
|
/third_party/skia/third_party/externals/oboe/src/opensles/ |
D | OpenSLESUtilities.cpp | 80 SLuint32 OpenSLES_ConvertFormatToRepresentation(AudioFormat format) { in OpenSLES_ConvertFormatToRepresentation() 82 case AudioFormat::I16: in OpenSLES_ConvertFormatToRepresentation() 84 case AudioFormat::Float: in OpenSLES_ConvertFormatToRepresentation() 86 case AudioFormat::Invalid: in OpenSLES_ConvertFormatToRepresentation() 87 case AudioFormat::Unspecified: in OpenSLES_ConvertFormatToRepresentation()
|
D | AudioInputStreamOpenSLES.cpp | 81 if (getSdkVersion() < __ANDROID_API_M__ && mFormat == AudioFormat::Float){ in open() 89 if (mFormat == AudioFormat::Unspecified){ in open() 91 AudioFormat::I16 : AudioFormat::Float; in open()
|
D | AudioOutputStreamOpenSLES.cpp | 118 if (getSdkVersion() < __ANDROID_API_L__ && mFormat == AudioFormat::Float){ in open() 126 if (mFormat == AudioFormat::Unspecified){ in open() 128 AudioFormat::I16 : AudioFormat::Float; in open()
|
D | OpenSLESUtilities.h | 40 SLuint32 OpenSLES_ConvertFormatToRepresentation(AudioFormat format);
|
/third_party/skia/third_party/externals/oboe/include/oboe/ |
D | AudioStreamBase.h | 72 AudioFormat getFormat() const { return mFormat; } in getFormat() 175 AudioFormat mFormat = AudioFormat::Unspecified; 202 case AudioFormat::Unspecified: in isValidConfig() 203 case AudioFormat::I16: in isValidConfig() 204 case AudioFormat::Float: in isValidConfig()
|
D | Utilities.h | 48 int32_t convertFormatToSizeInBytes(AudioFormat format);
|
D | Definitions.h | 94 enum class AudioFormat : int32_t { // aaudio_format_t enum
|
/third_party/skia/third_party/externals/oboe/src/common/ |
D | Utilities.cpp | 54 int32_t convertFormatToSizeInBytes(AudioFormat format) { in convertFormatToSizeInBytes() 57 case AudioFormat::I16: in convertFormatToSizeInBytes() 60 case AudioFormat::Float: in convertFormatToSizeInBytes() 95 const char *convertToText<AudioFormat>(AudioFormat format) { in convertToText() 97 case AudioFormat::Invalid: return "Invalid"; in convertToText() 98 case AudioFormat::Unspecified: return "Unspecified"; in convertToText() 99 case AudioFormat::I16: return "I16"; in convertToText() 100 case AudioFormat::Float: return "Float"; in convertToText()
|
D | DataConversionFlowGraph.cpp | 82 AudioFormat sourceFormat = sourceStream->getFormat(); in configure() 87 AudioFormat sinkFormat = sinkStream->getFormat(); in configure() 110 case AudioFormat::Float: in configure() 114 case AudioFormat::I16: in configure() 128 case AudioFormat::Float: in configure() 131 case AudioFormat::I16: in configure() 198 case AudioFormat::Float: in configure() 201 case AudioFormat::I16: in configure()
|
D | QuirksManager.cpp | 125 const bool isFloat = builder.getFormat() == AudioFormat::Float; in isConversionNeeded() 168 childBuilder.setFormat(AudioFormat::I16); // needed for FAST track in isConversionNeeded()
|
D | AudioStreamBuilder.cpp | 84 && (getFormat() == (AudioFormat)oboe::Unspecified || getFormat() == other.getFormat()) in isCompatible() 125 if (getFormat() == oboe::AudioFormat::Unspecified) { in openStream()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | AudioRecordThread.java | 20 import android.media.AudioFormat; 38 private static int AUDIO_FORMAT = AudioFormat.ENCODING_PCM_FLOAT; 51 ? AudioFormat.CHANNEL_IN_MONO : AudioFormat.CHANNEL_IN_STEREO; in createRecorder() 52 int audioFormat = AudioFormat.ENCODING_PCM_FLOAT; in createRecorder()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/ |
D | SimpleAudioOutput.java | 21 import android.media.AudioFormat; 147 AudioFormat format = new AudioFormat.Builder() in createAudioTrack() 148 .setEncoding(AudioFormat.ENCODING_PCM_FLOAT) in createAudioTrack() 149 .setChannelMask(AudioFormat.CHANNEL_OUT_STEREO) in createAudioTrack()
|
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/ |
D | DuplexEngine.cpp | 27 if (inStream->getFormat() == oboe::AudioFormat::Float) { in beginStreams() 30 } else if (inStream->getFormat() == oboe::AudioFormat::I16) { in beginStreams() 61 ->setFormat(oboe::AudioFormat::Float) // For now in openInStream()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/ |
D | InputStreamCallbackAnalyzer.cpp | 28 if (audioStream->getFormat() == oboe::AudioFormat::I16) { in onAudioReady() 41 } else if (audioStream->getFormat() == oboe::AudioFormat::Float) { in onAudioReady()
|
D | NativeAudioContext.cpp | 186 ->setFormat((oboe::AudioFormat) format) in open() 366 if (outputStream->getFormat() == oboe::AudioFormat::I16) { in configureStreamGateway() 368 } else if (outputStream->getFormat() == oboe::AudioFormat::Float) { in configureStreamGateway() 474 ->setFormat(oboe::AudioFormat::Float) in startPlayback()
|
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/ |
D | LiveEffectEngine.h | 54 oboe::AudioFormat mFormat = oboe::AudioFormat::I16;
|
/third_party/pulseaudio/sonic/ |
D | Main.java | 9 import javax.sound.sampled.AudioFormat; 71 AudioFormat format = stream.getFormat(); in main()
|
/third_party/skia/third_party/externals/oboe/src/aaudio/ |
D | AAudioLoader.cpp | 272 static_assert((int32_t)AudioFormat::Invalid == AAUDIO_FORMAT_INVALID, ERRMSG); 273 static_assert((int32_t)AudioFormat::Unspecified == AAUDIO_FORMAT_UNSPECIFIED, ERRMSG); 274 static_assert((int32_t)AudioFormat::I16 == AAUDIO_FORMAT_PCM_I16, ERRMSG); 275 static_assert((int32_t)AudioFormat::Float == AAUDIO_FORMAT_PCM_FLOAT, ERRMSG);
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/ |
D | Game.cpp | 120 bool is16Bit = (oboeStream->getFormat() == AudioFormat::I16); in onAudioReady() 188 if (mAudioStream->getFormat() == AudioFormat::I16){ in openStream()
|
/third_party/skia/third_party/externals/oboe/samples/MegaDrone/src/main/cpp/ |
D | MegaDroneEngine.cpp | 56 ->setFormat(oboe::AudioFormat::Float) in createPlaybackStream()
|
/third_party/skia/third_party/externals/oboe/docs/ |
D | GettingStarted.md | 130 builder.setFormat(oboe::AudioFormat::Float); 140 ->setFormat(oboe::AudioFormat::Float); 150 // We requested AudioFormat::Float so we assume we got it. 195 oboe::AudioFormat format = stream->getFormat(); 267 ->setFormat(oboe::AudioFormat::Float)
|