ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
ดองเกิล Loopback ของเสียง
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แผนภาพและรูปภาพด้านล่างแสดงดองเกิลเสียงแบบลูปแบ็กสำหรับขั้วต่อหูฟัง
ทีมฮาร์ดแวร์ของ Chrome ออกแบบวงจรและปลั๊กนี้มาเพื่อการทดสอบฟังก์ชันการทำงาน แต่ก็มีการใช้งานอื่นๆ อีกมากมายด้วย ทีมเสียงของ Android ใช้ข้อมูลนี้เพื่อวัดเวลาในการตอบสนองของเสียงแบบไปกลับ โดยส่งสัญญาณที่เข้ารหัสผ่านเอาต์พุต แล้วมองหาสัญญาณที่ตรงกันในอินพุต
เวลาที่ผ่านไประหว่าง 2 เหตุการณ์นี้คือเวลาในการตอบสนองของอินพุตบวกเอาต์พุตรวมกัน
เทคนิคนี้ใช้ใน OboeTester และใน CTS Verifier
ดองเกิล Loopback ตามวงจรด้านล่างมีจำหน่ายจาก PassMark Software
ข้อมูลนี้ไม่ใช่คำแนะนำหรือการสนับสนุน Google ไม่มีความสัมพันธ์ทางธุรกิจกับ PassMark
วงจร
รูปที่ 1 แผนภาพวงจร
เราลดสัญญาณเอาต์พุตลงประมาณ 20dB เพื่อให้สัญญาณอินพุตของไมโครโฟนไม่ทำงานหนักเกินไป
ตัวโหลดตัวต้านทานจะบอกสวิตช์ขั้วต่อของไมโครโฟนว่าดองเกิลการรายงานเสียงเป็นปลั๊ก Tip Ring Ring Shield (TRRS) ของ US/CTIA
ประกอบแล้ว
รูปที่ 2 ประกอบแล้ว
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-02-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-02-27 UTC"],[],[],null,["# Audio loopback dongle\n\nThe diagram and photo below show an audio loopback\n[dongle](http://en.wikipedia.org/wiki/Dongle)\nfor the\n[headset connector](http://en.wikipedia.org/wiki/Phone_connector_(audio)).\nThe Chrome hardware team designed this circuit and plug for functional testing;\nhowever it has many other uses too. The Android audio team uses it to measure\n[round-trip audio latency](/docs/core/audio/latency/measure#measuringRoundTrip),\nby sending an encoded signal through the output and then looking for that matching signal on the input.\nThe time between the two is the combined input plus output latency.\nThis technique is used in [OboeTester](https://github.com/google/oboe/tree/main/apps/OboeTester/docs) and in CTS Verifier.\n\nA Loopback Dongle based on the circuit below is available from\n[PassMark Software](https://www.passmark.com/products/audio-loopback-plug/index.php).\nThis isn't a recommendation or an endorsement. Google does not have a business relationship with PassMark.\n\nCircuit\n-------\n\n\n**Figure 1.** circuit diagram\n\n\nTo ensure that the output signal will not overload the microphone input,\nwe cut it down by about 20dB.\nThe resistor loads tell the microphone polarity switch that\nthe audio loopback dongle is a US/CTIA pinout Tip Ring Ring Shield (TRRS) plug.\n\nAssembled\n---------\n\n\n**Figure 2.** Assembled"]]