I looked into this.   This is a function of alsa.conf   Note, that I
only have the 2 soundcards (rpi builtin and and my i2s PianoPlus)

The default alsa.conf has this

Code:
--------------------
    
  # show all name hints also for definitions without hint {} section
  defaults.namehint.showall off
  # show just basic name hints
  defaults.namehint.basic on
  # show extended name hints
  defaults.namehint.extended off
  
--------------------


Changing to

Code:
--------------------
    
  # show all name hints also for definitions without hint {} section
  defaults.namehint.showall off
  # show just basic name hints
  defaults.namehint.basic on
  # show extended name hints
  defaults.namehint.extended on     <<---This value set to on
  
--------------------


Yields

Code:
--------------------
    
  tc@USBridgeSig:/usr/local/share/alsa$ squeezelite -l
  Output devices:
  null                           - Discard all samples (playback) or generate 
zero samples (capture)
  sysdefault:CARD=ALSA           - bcm2835 ALSA, bcm2835 ALSA - Default Audio 
Device
  dmix:CARD=ALSA,DEV=0           - bcm2835 ALSA, bcm2835 ALSA - Direct sample 
mixing device
  dmix:CARD=ALSA,DEV=1           - bcm2835 ALSA, bcm2835 IEC958/HDMI - Direct 
sample mixing device
  dmix:CARD=ALSA,DEV=2           - bcm2835 ALSA, bcm2835 IEC958/HDMI1 - Direct 
sample mixing device
  dsnoop:CARD=ALSA,DEV=0         - bcm2835 ALSA, bcm2835 ALSA - Direct sample 
snooping device
  dsnoop:CARD=ALSA,DEV=1         - bcm2835 ALSA, bcm2835 IEC958/HDMI - Direct 
sample snooping device
  dsnoop:CARD=ALSA,DEV=2         - bcm2835 ALSA, bcm2835 IEC958/HDMI1 - Direct 
sample snooping device
  hw:CARD=ALSA,DEV=0             - bcm2835 ALSA, bcm2835 ALSA - Direct hardware 
device without any conversions
  hw:CARD=ALSA,DEV=1             - bcm2835 ALSA, bcm2835 IEC958/HDMI - Direct 
hardware device without any conversions
  hw:CARD=ALSA,DEV=2             - bcm2835 ALSA, bcm2835 IEC958/HDMI1 - Direct 
hardware device without any conversions
  plughw:CARD=ALSA,DEV=0         - bcm2835 ALSA, bcm2835 ALSA - Hardware device 
with all software conversions
  plughw:CARD=ALSA,DEV=1         - bcm2835 ALSA, bcm2835 IEC958/HDMI - Hardware 
device with all software conversions
  plughw:CARD=ALSA,DEV=2         - bcm2835 ALSA, bcm2835 IEC958/HDMI1 - 
Hardware device with all software conversions
  sysdefault:CARD=PianoDACPlus   - PianoDACPlus, PianoDACPlus multicodec-0 - 
Default Audio Device
  dmix:CARD=PianoDACPlus,DEV=0   - PianoDACPlus, PianoDACPlus multicodec-0 - 
Direct sample mixing device
  dsnoop:CARD=PianoDACPlus,DEV=0 - PianoDACPlus, PianoDACPlus multicodec-0 - 
Direct sample snooping device
  hw:CARD=PianoDACPlus,DEV=0     - PianoDACPlus, PianoDACPlus multicodec-0 - 
Direct hardware device without any conversions
  plughw:CARD=PianoDACPlus,DEV=0 - PianoDACPlus, PianoDACPlus multicodec-0 - 
Hardware device with all software conversions
  
--------------------


Changing to 

Code:
--------------------
    
  # show all name hints also for definitions without hint {} section
  defaults.namehint.showall on    <-----This is set on
  # show just basic name hints
  defaults.namehint.basic on
  # show extended name hints
  defaults.namehint.extended on     <-----This is set on
  
--------------------


Yields (Note that this includes every option that is in asound, the
devices may or may not be present.)

Code:
--------------------
    
  tc@USBridgeSig:/usr/local/share/alsa$ squeezelite -l
  Output devices:
  null                           - Discard all samples (playback) or generate 
zero samples (capture)
  default
  pcpinput
  plugequal
  equal
  sysdefault:CARD=ALSA           - bcm2835 ALSA, bcm2835 ALSA - Default Audio 
Device
  dmix:CARD=ALSA,DEV=0           - bcm2835 ALSA, bcm2835 ALSA - Direct sample 
mixing device
  dmix:CARD=ALSA,DEV=1           - bcm2835 ALSA, bcm2835 IEC958/HDMI - Direct 
sample mixing device
  dmix:CARD=ALSA,DEV=2           - bcm2835 ALSA, bcm2835 IEC958/HDMI1 - Direct 
sample mixing device
  dsnoop:CARD=ALSA,DEV=0         - bcm2835 ALSA, bcm2835 ALSA - Direct sample 
snooping device
  dsnoop:CARD=ALSA,DEV=1         - bcm2835 ALSA, bcm2835 IEC958/HDMI - Direct 
sample snooping device
  dsnoop:CARD=ALSA,DEV=2         - bcm2835 ALSA, bcm2835 IEC958/HDMI1 - Direct 
sample snooping device
  hw:CARD=ALSA,DEV=0             - bcm2835 ALSA, bcm2835 ALSA - Direct hardware 
device without any conversions
  hw:CARD=ALSA,DEV=1             - bcm2835 ALSA, bcm2835 IEC958/HDMI - Direct 
hardware device without any conversions
  hw:CARD=ALSA,DEV=2             - bcm2835 ALSA, bcm2835 IEC958/HDMI1 - Direct 
hardware device without any conversions
  plughw:CARD=ALSA,DEV=0         - bcm2835 ALSA, bcm2835 ALSA - Hardware device 
with all software conversions
  plughw:CARD=ALSA,DEV=1         - bcm2835 ALSA, bcm2835 IEC958/HDMI - Hardware 
device with all software conversions
  plughw:CARD=ALSA,DEV=2         - bcm2835 ALSA, bcm2835 IEC958/HDMI1 - 
Hardware device with all software conversions
  sysdefault:CARD=PianoDACPlus   - PianoDACPlus, PianoDACPlus multicodec-0 - 
Default Audio Device
  dmix:CARD=PianoDACPlus,DEV=0   - PianoDACPlus, PianoDACPlus multicodec-0 - 
Direct sample mixing device
  dsnoop:CARD=PianoDACPlus,DEV=0 - PianoDACPlus, PianoDACPlus multicodec-0 - 
Direct sample snooping device
  hw:CARD=PianoDACPlus,DEV=0     - PianoDACPlus, PianoDACPlus multicodec-0 - 
Direct hardware device without any conversions
  plughw:CARD=PianoDACPlus,DEV=0 - PianoDACPlus, PianoDACPlus multicodec-0 - 
Hardware device with all software conversions
  
--------------------



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer
------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to