2.10.14

How to disable pulseaudio and enable dmix on XUbuntu 14.04.1 LTS

  • Remove the pulseaudio server package only, leaving the libraries in place
  • Create a new file in your home directory called .asoundrc
  • Paste the following inside it:

pcm.!default {
  type plug
  slave {
    pcm {
      type asym
      playback {
        pcm {
          type dmix
          ipc_key 1024
          slave {
            pcm {
              type hw
              card 0
            }
            period_time 0
            period_size 512
            periods 8
            rate 44100
          }
          bindings {
            0 1
            1 0
          }
        }
      }
      capture {
        pcm {
          type dsnoop
          ipc_key 1025
          slave {
            pcm {
              type hw
              card 0
            }
            period_time 0
            period_size 512
            periods 8
            rate 44100
          }
          bindings {
            0 1
            1 0
          }
        }
      }
    }
  }
}

ctl.!default {
  type hw
  card 0
}


  • Reboot.