Kodi Community Forum
default asound.conf for XBMC live - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: default asound.conf for XBMC live (/showthread.php?tid=60739)



default asound.conf for XBMC live - fidoboy - 2009-11-02

Unfortunately i've lost my original asound.conf file, can onyone post here the content of the original one included with XBMC live? i need to get SPDIF output working again...

regards,


- milvus - 2009-11-03

Code:
xbmc@xbmc:~$ cat asoundrc.live.orig

# Linux has channel order
# FL, FR, SL, SR, C, LFE
# so we remap all channelorders to this

# Windows - FL, FR, C, LFE, BL, BR, (FLC, FRC, BC, SL, SR, TC, TFL, TFC, TFR, TBL, TBC, TBR)
pcm.xbmc_win51 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type route
  slave {
    pcm $SLAVE
    channels 6
  }
  ttable {
    0.0= 1
    1.1= 1
    2.4= 1
    3.5= 1
    4.2= 1
    5.3= 1
  }
}

pcm.xbmc_win50 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type route
  slave {
    pcm $SLAVE
    channels 5
  }
  ttable {
    0.0= 1
    1.1= 1
    2.4= 1
    3.2= 1
    4.3= 1
  }
}

# FL, C, FR, SL, SR, LFE
pcm.xbmc_ogg51 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type route
  slave {
    pcm $SLAVE
    channels 6
  }
  ttable {
    0.0= 1
    1.4= 1
    2.1= 1
    3.2= 1
    4.3= 1
    5.5= 1
  }
}

pcm.xbmc_ogg50 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type route
  slave {
    pcm $SLAVE
    channels 5
  }
  ttable {
    0.0= 1
    1.4= 1
    2.1= 1
    3.2= 1
    4.3= 1
  }
}

# C, FL, FR, SL, SR, LFE
pcm.xbmc_aac51 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type route
  slave {
    pcm $SLAVE
    channels 6
  }
  ttable {
    0.4= 1
    1.0= 1
    2.1= 1
    3.2= 1
    4.3= 1
    5.5= 1
  }
}

pcm.xbmc_aac50 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type route
  slave {
    pcm $SLAVE
    channels 6
  }
  ttable {
    0.4= 1
    1.0= 1
    2.1= 1
    3.2= 1
    4.3= 1
  }
}

# this could potentially be used to encode multichannels
# to ac3 for passthrough out an spdif
pcm.xbmc_a52encode {
  type a52
}

# downmixing to 2 channels
pcm.xbmc_51to2 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type plug
  slave.pcm $SLAVE
  slave.channels 2
  route_policy duplicate
  ttable.0.0 1          # front left speaker
  ttable.1.1 1          # front right speaker
  ttable.2.0 0.7        # rear left speaker
  ttable.3.1 0.7        # rear right speaker
  ttable.4.0 0.7        # center to left mapping
  ttable.4.1 0.7        # center to right mapping
  ttable.5.0 0.5        # LFE (base) to left mapping
  ttable.5.1 0.5        # LFE to right mapping
}

# downmixing to 2 channels
pcm.xbmc_50to2 {
  @args.0 SLAVE
  @args.SLAVE {
    type string
    default "default"
  }
  type plug
  slave.pcm $SLAVE
  slave.channels 2
  route_policy duplicate
  ttable.0.0 1          # front left speaker
  ttable.1.1 1          # front right speaker
  ttable.2.0 0.7        # rear left speaker
  ttable.3.1 0.7        # rear right speaker
  ttable.4.0 0.7        # center to left mapping
  ttable.4.1 0.7        # center to right mapping
}



- fidoboy - 2009-11-03

Are you sure? that is the default asound.conf? does it works with spdif digital out? :S


- Zapata - 2009-11-03

Upgrade to Alsa 1.0.21 and dump the asound.conf unless u have special needs like analog and digital sound at the same time.

Then audio selectable from the XBMC Settings.


- fidoboy - 2009-11-03

I already have alsa 1.0.21 installed. If i delete asound.conf then i get no stereo sound (only 5.1 sound) and also no navigation sounds...


- Zapata - 2009-11-03

fidoboy Wrote:I already have alsa 1.0.21 installed. If i delete asound.conf then i get no stereo sound (only 5.1 sound) and also no navigation sounds...

Are you running S/PDIF or HDMI?

EDIT: Also, can you please check for any Alsa config files in your ~Home directory.


- fidoboy - 2009-11-03

i'm running SPDIF and in my home directory i only have the asound.conf but i'm not sure about the contents of this file. Sound card is CMI9880