Home
last modified time | relevance | path

Searched refs:surroundFormats (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp2501 auto surroundFormats = std::make_unique<audio_format_t[]>(numSurroundFormats); in android_media_AudioSystem_getSurroundFormats() local
2503 status = AudioSystem::getSurroundFormats(&numSurroundFormats, &surroundFormats[0], in android_media_AudioSystem_getSurroundFormats()
2511 int audioFormat = audioFormatFromNative(surroundFormats[i]); in android_media_AudioSystem_getSurroundFormats()
2514 ALOGW("Unknown surround native audio format for JAVA API: %u", surroundFormats[i]); in android_media_AudioSystem_getSurroundFormats()
2549 auto surroundFormats = std::make_unique<audio_format_t[]>(numSurroundFormats); in android_media_AudioSystem_getReportedSurroundFormats() local
2550 status = AudioSystem::getReportedSurroundFormats(&numSurroundFormats, &surroundFormats[0]); in android_media_AudioSystem_getReportedSurroundFormats()
2557 int audioFormat = audioFormatFromNative(surroundFormats[i]); in android_media_AudioSystem_getReportedSurroundFormats()
2560 ALOGW("Unknown surround native audio format for JAVA API: %u", surroundFormats[i]); in android_media_AudioSystem_getReportedSurroundFormats()
/aosp14/frameworks/base/media/java/android/media/
H A DAudioSystem.java2028 public static native int getSurroundFormats(Map<Integer, Boolean> surroundFormats); in getSurroundFormats() argument
2031 public static native int getReportedSurroundFormats(ArrayList<Integer> surroundFormats); in getReportedSurroundFormats() argument
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java2396 Map<Integer, Boolean> surroundFormats = new HashMap<>(); in getSurroundFormats() local
2397 int status = AudioSystem.getSurroundFormats(surroundFormats); in getSurroundFormats()
2403 return surroundFormats; in getSurroundFormats()
2586 String[] surroundFormats = TextUtils.split(enabledSurroundFormats, ","); in sendEnabledSurroundFormats() local
2588 for (String format : surroundFormats) { in sendEnabledSurroundFormats()