Guest User

Untitled

a guest
Dec 12th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. 1. disable build-in audio (doesn't work, sunxicodec is not kernel module but inside kernel)
  2. ```
  3. sudo vim /etc/modprobe.d/alsa-blacklist.conf
  4. blacklist sunxicodec
  5. blacklist sunxi-CODEC (?)
  6. ```
  7.  
  8. 2. set usb-dac as primary (doesn't work, usb-dac is dissapear after that)
  9.  
  10. ```
  11. sudo vim /etc/modprobe.d/alsa-base.conf
  12. options snd-usb-audio index=0
  13. options sunxicodec index=1
  14. ```
  15.  
  16. 3. set card1 as default
  17.  
  18. ```
  19. sudo vim /etc/asound.conf
  20. pcm.!default {
  21. type hw
  22. card 1
  23. }
  24.  
  25. ctl.!default {
  26. type hw
  27. card 1
  28. }
  29. ```
  30.  
  31. 4. test
  32.  
  33. ```
  34. speaker-test --format S32_LE --channels 2 -r 44100
  35. ```
Add Comment
Please, Sign In to add comment