จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คลังเสียงของ Oboe จะรวมอยู่ในไลบรารี AGDK Oboe เป็นไลบรารี C++ แบบโอเพนซอร์สที่ออกแบบมาเพื่อช่วยสร้างแอปเสียงที่มีประสิทธิภาพสูงใน Android Oboe มี API ดั้งเดิมเดียวที่ใช้ได้ใน Android 4.1
(API ระดับ 16) ขึ้นไป
ใช้ Oboe เพื่อรับสิทธิประโยชน์ต่อไปนี้
ลดเวลาในการตอบสนองให้ต่ำที่สุด Oboe ช่วยให้แอปพลิเคชันของคุณมี
เวลาในการตอบสนองของเสียงที่ต่ำที่สุดเท่าที่จะเป็นไปได้สำหรับอุปกรณ์และ Android เวอร์ชันที่กำหนด
ใช้ไลบรารีเนทีฟที่ดีที่สุดที่มี ในอุปกรณ์ที่ใช้ Android API
8.1 (API ระดับ 27) ขึ้นไป Oboe จะใช้ AAudio สำหรับอุปกรณ์ที่ใช้เวอร์ชันต่ำกว่า Oboe จะใช้ OpenSL ES
หลีกเลี่ยงข้อบกพร่องด้านเสียง Oboe มีวิธีแก้ปัญหาเสียงที่ทราบแล้วบางอย่างซึ่งเกิดขึ้นในอุปกรณ์หรือ Android บางเวอร์ชัน การใช้ Oboe
จะช่วยให้แอปพลิเคชันหลีกเลี่ยงปัญหาเหล่านี้ได้โดยไม่ต้องใช้หรือ
ทดสอบโซลูชันของคุณเอง
ขั้นตอนถัดไป
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-26 UTC
[null,null,["อัปเดตล่าสุด 2025-08-26 UTC"],[],[],null,["Oboe audio library\nPart of [Android Game Development Kit](/games/agdk/overview).\n\nThe Oboe audio library is included in the [AGDK Libraries](/games/agdk#game-libraries). Oboe is an\nopen-source C++ library designed to help build high-performance audio apps on\nAndroid. Oboe provides a single native API that works in Android 4.1\n(API level 16) and higher.\n\nUse Oboe to gain the following benefits:\n\n- **Achieve the lowest latency**. Oboe helps your application achieve the\n lowest-possible audio latency for a given device and Android version\n combination.\n\n- **Use the best available native library**. On devices running Android API\n 8.1 (API level 27) and higher, Oboe uses AAudio. For devices running lower\n versions, Oboe uses OpenSL ES.\n\n- **Avoid audio bugs.** Oboe includes workarounds for some known audio\n issues that manifest on specific devices or versions of Android. Using Oboe\n helps your application avoid these issues without having to implement or\n test your own solutions.\n\nNext steps\n\n- [Update your build settings](/games/sdk/oboe/update-build-settings)\n\n- [Use Oboe to play or record audio](https://github.com/google/oboe/blob/master/docs/GettingStarted.md#using-oboe)"]]