OpenSL ES
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
경고: OpenSL ES는 지원 중단되었습니다. 개발자는 오픈소스
Oboe 라이브러리: GitHub에서 사용할 수 있습니다.
Oboe는 Oboe와 매우 유사한 API를 제공하는 C++ 래퍼입니다.
AAudio를 사용합니다. AAudio가 재생될 때 Oboe는
AAudio를 사용할 수 없는 경우 OpenSL ES로 대체합니다.
NDK 패키지에는 Khronos Group OpenSL ES™ 1.0.1 API 사양의 Android 전용 구현이 포함되어 있습니다.
이 라이브러리를 사용하면 작성 중인 앱(신시사이저, 디지털 오디오 워크스테이션, 노래방, 게임 또는 기타 실시간 앱)과 상관없이 C 또는 C++를 통해 지연 시간이 짧은 고성능 오디오를 구현할 수 있습니다.
OpenSL ESTM 표준은 오디오 기능 제공
MediaPlayer
및 MediaRecorder
의 결과와 유사
API에 대해 살펴봤습니다 OpenSL ES는 C 언어 인터페이스뿐 아니라
두 언어 중 하나로 작성된 코드에서 API를 호출할 수 있는 C++ 바인딩
OpenSL ES API는 앱의 오디오 성능을 개발하고 향상시키는 데 도움을 줄 수 있습니다.
표준 OpenSL ES 헤더 <SLES/OpenSLES.h> 및 <SLES/OpenSLES_Platform.h>는 오디오 입력과 출력을 허용합니다. 추가
Android 관련 기능은 <SLES/OpenSLES_Android.h>에 있습니다. 및
<SLES/OpenSLES_AndroidConfiguration.h>
이 섹션에서는 먼저
앱에 OpenSL ES를 통합하는 방법을 참조하세요.
다음으로 알아야 할 내용과
OpenSL ES의 Android 구현에 관해 알아보았고,
차이점을
선택한 다음
추가 광고 확장
를 참조하세요. 이 섹션에서는
프로그래밍 참고사항에 따라
구현했습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[],[],null,["# OpenSL ES\n\nWARNING: OpenSL ES is **deprecated** . Developers should use the open source\nOboe library which is available on [GitHub](https://github.com/google/oboe).\nOboe is a C++ wrapper that provides an API that closely resembles\n[AAudio](/ndk/guides/audio/aaudio/aaudio). Oboe calls AAudio when AAudio is\navailable, and falls back to OpenSL ES if AAudio is not available.\n\nThe NDK package includes an Android-specific implementation of the\n[OpenSL ES™](https://www.khronos.org/opensles/) 1.0.1 API\nspecification from the [Khronos Group](https://www.khronos.org).\nThis library lets you use C or C++ to implement high-performance, low-latency audio, whether\nyou are writing a synthesizer, digital audio workstation, karaoke, game,\nor other real-time app.\n\n\nThe OpenSL ES™ standard exposes audio features\nsimilar to those in the [MediaPlayer](/reference/android/media/MediaPlayer) and [MediaRecorder](/reference/android/media/MediaRecorder)\nAPIs in the Android Java framework. OpenSL ES provides a C language interface as well as\nC++ bindings, allowing you to call the API from code written in either language.\n\n\nThe OpenSL ES APIs are available to help you develop and improve your app's audio performance.\n\n\nThe standard OpenSL ES headers \\\u003cSLES/OpenSLES.h\\\u003e and\n\\\u003cSLES/OpenSLES_Platform.h\\\u003e allow audio input and output. Additional\nAndroid-specific functionality is in \\\u003cSLES/OpenSLES_Android.h\\\u003e and\n\\\u003cSLES/OpenSLES_AndroidConfiguration.h\\\u003e.\n\nThis section begins by explaining\n[how to incorporate OpenSL ES into your app](/ndk/guides/audio/opensl/getting-started).\nNext, it explains what you need to know\nabout the Android implementation of OpenSL ES, focusing first on the\n[differences](/ndk/guides/audio/opensl/opensl-for-android) between this implementation and the\nreference specification and then\n[additional extensions](/ndk/guides/audio/opensl/android-extensions)\nfor Android compatibility. This section concludes with some supplemental\n[programming notes](/ndk/guides/audio/opensl/opensl-prog-notes) to ensure proper\nimplementation of OpenSL ES."]]