Advertisement
Guest User

Untitled

a guest
Sep 28th, 2021
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. [root@dtk /]# cat /etc/asound.conf
  2. #
  3. # Place your global alsa-lib configuration here...
  4. #
  5. #
  6. pcm.!default {
  7. type plug
  8. slave.pcm "camilladsp"
  9. }
  10.  
  11. pcm.camilladsp {
  12.  
  13. # Use the ALSA plug-in "plug" for rate-/format-conversion.
  14. type plug
  15.  
  16. # Forward the audio stream to the ALSA loopback-device
  17. slave {
  18. pcm {
  19.  
  20. # Direct hardware access
  21. type hw
  22.  
  23. # Loopback card name
  24. #
  25. # Has to match "id" in the options of the snd-aloop module
  26. card "Loopback"
  27.  
  28. # Loopback device ID
  29. device 0
  30.  
  31. # Number of audio channels
  32. #
  33. # Has to match the number of channels in music player app
  34. # and in the CamillaDSP input configuration
  35. channels 2
  36.  
  37. # Format of audio stream
  38. #
  39. # Has to match the format defined in the
  40. # of the CamillaDSP input configuration
  41. #format "S16_LE"
  42. format "FLOAT_LE"
  43.  
  44. # Sampling-rate of audio stream
  45. #
  46. # Has to match the sampling-rate defined in the
  47. # CamillaDSP configuration
  48. rate 44100
  49. }
  50. }
  51. }
  52.  
  53.  
  54. ctl.!default {
  55. type hw
  56. card "Loopback"
  57. }
  58. # Create an ALSA default control-device for the ALSA loopback-device.
  59. ctl.camilladsp {
  60.  
  61. # Direct hardware access
  62. type hw
  63.  
  64. # Loopback card name
  65. #
  66. # Has to match "id" in the options of the snd-aloop module
  67. card "Loopback"
  68. }
  69. [root@dtk /]#
  70.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement