0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Ubuntu22.04.1LTS環境でAndroid Emulatorのサウンドを有効にするとyoutubeなどの音声にノイズが乗る問題

Posted at

環境

マシンスペック

  • Ryzen5 5600X
  • B550M AORUS ELITE
  • Radeon RX6600XT
  • DDR4-3200 8gb × 4
  • M.2 Gen3 1TB(デュアルブート)
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
  • サウンドデバイスに問題がないことは同じマシンの別osで確認済み

解決策

Solution1

https://stackoverflow.com/questions/48484850/strange-sound-produced-by-android-emulator-when-turned-on-in-android-studio
Screenshot_1663625557.png

ココらへんのother sounds and vibrationsをすべてoffにして、emulatorを再起動する。

Solution2

sudo vim /etc/pulse/default.pa

...
load-module module-udev-detect tsched=0
# tsched=0を追加する
...

# その後以下のコードを実行する
pulseaudio -k
sudo vim /etc/pulse/daemon.conf

...
default-sample-rate = 48000
# 44100を48000に変更する
...

# その後以下のコードを実行する
pulseaudio -k

おそらくこれで解決するはずです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?