Privacy > Microphone: เปิด Microphone access, Allow apps access, เปิด Audacity/Skype 2) Sound Control Panel: Recording/Playback > Properties > Device usage=Enable, Advanced > ยกเลิก Exclusive mode 3) รัน Voice Recorder built-in ก่อน แล้วค่อยเปิด Audacity">
 Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

แก้ไข: Audacity "Error while opening sound device"

Audacity เป็นซอฟต์แวร์เสียงเสมือนฟรีบน Windows ดีสำหรับตัดต่อเพลง แตบางคนเจอข้อผิดพลาด "Error opening sound device" ตอนบันทึกหรือเล่นไฟล์

แก้ไข: Audacity  Error while opening sound device

มีสาเหตุและวิธีแก้หลายอย่าง อ่านต่อเพื่อหาวิธีที่เหมาะกับคุณ

สาเหตุของ Audacity "Error opening sound device"

มักเป็นปัญหาสิทธิ์ (Permissions) ที่เกิดหลัง Windows Update เพราะตั้งค่าสิทธิ์แอปที่เข้าถึงไมโครโฟนใหม่

วิธีที่ 1: อนุญาตให้แอปใช้ไมโครโฟน

ตัวเลือกนี้อาจเปิดอยู่แล้วแต่ถูกปิดโดยโปรแกรมใหม่หรือ Windows Update เนื่องจากเหตุผลความปลอดภัย วิธีนี้ง่ายที่สุด อาจประหยัดเวลาหลายชั่วโมง

สำหรับ Windows 10:

  1. คลิกไอคอนเกียร์ (Settings) ใน Start menu หรือค้นหา "Settings"
แก้ไข: Audacity  Error while opening sound device
  1. เลื่อนลงหา Privacy คลิกเข้าไป ด้านซ้ายหา App permissions เลือก Microphone
  2. ตรวจสอบ Microphone access for this device เปิดอยู่หรือไม่ หากปิด คลิก Change เปิดสลับให้ On
แก้ไข: Audacity  Error while opening sound device
  1. เปิดสลับ Allow apps to access your microphone ให้ On เลื่อนลงหา Audacity (หรือ Skype ตามตัวอย่าง) เปิดสลับข้างๆ ให้ On
  2. เปิด Audacity ใหม่ ดูว่าปัญหาหายหรือไม่

ขั้นตอนเพิ่มเติมสำหรับ Windows 10 และรุ่นเก่า

อาจเป็นอุปกรณ์เสียงหลักถูกปิดโดยโปรแกรมหรือ Windows Update หรือมีเครื่องมือเสียงอื่นรันพร้อมกันขัดแย้งกับ Audacity

  1. คลิกขวาไอคอนเสียงในแถบงาน เลือก Sounds (หากไม่มี เปิด Control Panel > View: Category > Hardware and Sound > Sound)
แก้ไข: Audacity  Error while opening sound device
  1. แท็บ Recording เช็คว่าไมโครโฟนของคุณ Enabled อยู่ (ควรอยู่บนสุดและถูกเลือก)
  2. คลิกไมโครโฟนหนึ่งครั้ง > Properties > แท็บ General > Device usage เลือก Use this device (enable) หากยังไม่ได้เลือก > Apply
แก้ไข: Audacity  Error while opening sound device
  1. แท็บ Advanced > Exclusive mode ยกเลิกติ๊ก:
    - Allow applications to take exclusive control of this device
    - Give exclusive mode applications priority
    Apply แล้วทำซ้ำสำหรับ Speaker ในแท็บ Playback ก่อนปิดหน้าต่าง เปิด Audacity ใหม่ ทดสอบ

หมายเหตุ: ผู้ใช้ Windows 10 ควรลองขั้นตอนชุดนี้ด้วย เพราะบางคนแก้ได้ด้วยวิธีนี้เมื่อวิธีแรกล้มเหลว

วิธีที่ 2: ใช้ Voice Recorder built-in แล้วค่อยเปิด Audacity

อาจมีแอปภายนอก佔ใช้อุปกรณ์เสียง ทำให้ Audacity เข้าถึงไม่ได้ Voice Recorder ของ Windows เป็นแอป verified by Microsoft มีสิทธิ์ดีกว่าแอปภายนอก มีในทุก Windows ใช้ได้ทุกรุ่น

  1. หา Voice Recorder บน Desktop หรือ Start menu (หาหายาก ใช้คำสั่งด้านล่าง)
แก้ไข: Audacity  Error while opening sound device
  1. ค้นหา "Command Prompt" ใน Start คลิกขวา > Run as administrator
แก้ไข: Audacity  Error while opening sound device
  1. พิมพ์คำสั่งนี้ กด Enter:
    explorer.exe shell:appsFolder\Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe!App
  2. รอ Voice Recorder เปิด กดปุ่มไมโครโฟนเริ่มบันทึก ปิด Voice Recorder แล้วเปิด Audacity ใหม่ ดูว่าปัญหาหายหรือไม่