alsa

ALSA to JACKD route

cat ~/.asoundrc

 
pcm.rawjack {
    type jack
    playback_ports {
        0 system:playback_1
        1 system:playback_2
    }
    capture_ports {
        0 system:capture_1
        1 system:capture_2
    }
}
 
pcm.jack {
    type plug
    slave { pcm "rawjack" }
    hint {
 description "JACK Audio Connection Kit"
    }
}
 
pcm.!default {
    type plug
    slave { pcm "rawjack" }
}

~/.asoundrc для звуковух без могопоточного звука

pcm.ossmix {
   type dmix
   ipc_key 1027
   slave {
      pcm "hw:0,0"
      period_time 0
      period_size 1024
      buffer_size 4096
      rate 44100
   }
   bindings {
      0 0
      1 1
   }
}
 
pcm.!default {
   type plug
   slave.pcm "ossmix"
}
 
ctl.mixer0 {
   type hw
   card 0
}