Searched refs:targetProperties (Results 1 – 7 of 7) sorted by relevance
/external/oboe/samples/RhythmGame/src/main/cpp/audio/ |
D | AAssetDataSource.cpp | 39 const AudioProperties targetProperties) { in newFromCompressedAsset() argument 57 int64_t bytesDecoded = FFMpegExtractor::decode(asset, decodedData, targetProperties); in newFromCompressedAsset() 63 int64_t bytesDecoded = NDKExtractor::decode(asset, decodedData, targetProperties); in newFromCompressedAsset() 85 targetProperties); in newFromCompressedAsset()
|
D | NDKExtractor.cpp | 27 int32_t NDKExtractor::decode(AAsset *asset, uint8_t *targetData, AudioProperties targetProperties) { in decode() argument 51 if (sampleRate != targetProperties.sampleRate){ in decode() 55 targetProperties.sampleRate); in decode() 66 if (channelCount != targetProperties.channelCount){ in decode() 70 targetProperties.channelCount); in decode()
|
D | FFMpegExtractor.cpp | 122 AudioProperties targetProperties) { in decode() argument 204 int32_t outChannelLayout = (1 << targetProperties.channelCount) - 1; in decode() 209 av_opt_set_int(swr, "out_channel_count", targetProperties.channelCount, 0); in decode() 213 av_opt_set_int(swr, "out_sample_rate", targetProperties.sampleRate, 0); in decode() 268 targetProperties.sampleRate, in decode() 276 targetProperties.channelCount, in decode() 287 int64_t bytesToWrite = frame_count * sizeof(float) * targetProperties.channelCount; in decode()
|
D | NDKExtractor.h | 29 static int32_t decode(AAsset *asset, uint8_t *targetData, AudioProperties targetProperties);
|
D | AAssetDataSource.h | 34 AudioProperties targetProperties);
|
D | FFMpegExtractor.h | 33 static int64_t decode(AAsset *asset, uint8_t *targetData, AudioProperties targetProperties);
|
/external/oboe/samples/RhythmGame/src/main/cpp/ |
D | Game.cpp | 210 AudioProperties targetProperties { in setupAudioSources() local 217 AAssetDataSource::newFromCompressedAsset(mAssetManager, kClapFilename, targetProperties) in setupAudioSources() 227 … AAssetDataSource::newFromCompressedAsset(mAssetManager, kBackingTrackFilename, targetProperties) in setupAudioSources()
|