bpa wrote: 
> Use the tool "alsacap" to check the difference in playback capabilities
> between the "iec958:CARD=A,DEV=0" device and the  "hw:CARD=A,DEV=0"
> 
> Rate issues are usually because Squeezelite reports back to LMS that
> device is native capable of the playing various output rates - it would
> be good to see what ALSA reports for the iec device and the hw device.
> 
> alternative to alsacap would be to use command below  but you have to
> CTRL/C to stop it "playing".  Dewvice being tested is after "-D".
> > 
Code:
--------------------
  >   > 
  > aplay  -v --dump-hw-params  -D iec958:CARD=A,DEV=0  -f cd /dev/zero
  > 
--------------------
> > 
> 
> I don't know PCP but in general you should also check out the
> "default" device in case system sounds are being routed out through
> the "CARD=A" DAC.
> 
> To check if there is a "hidden" or non standard control for the DAC  -
> use the amixer command scontent to show controls and their contents. 
> The card being checked is after the "-c" option - example shows for
> "CARD=A"
> > 
Code:
--------------------
  >   > 
  > amixer -c A  scontents
  > 
--------------------
> > 




I think *@Smitty2K1* is Stateside :confused:

This is /usr/local/bin/squeezelite -n "piCorePlayer" -o
iec958:CARD=A,DEV=0 -a 80:4::0:  which plays fine for me :)



Code:
--------------------
    tc@pCP:~$ alsacap
  *** Scanning for playback devices ***
  
  Card 0, ID `b1', name `bcm2835 HDMI 1'
  Device 0, ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 4 subdevices (4 
available)
  1..8 channels, sampling rate 8000..192000 Hz
  Sample formats: U8, S16_LE
  Buffer size range from 80 to 131072
  Period size range from 80 to 131072
  Subdevice 0, name `subdevice #0'
  Subdevice 1, name `subdevice #1'
  Subdevice 2, name `subdevice #2'
  Subdevice 3, name `subdevice #3'
  
  Card 1, ID `Headphones', name `bcm2835 Headphones'
  Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphones', 4 subdevices (4 
available)
  1..8 channels, sampling rate 8000..192000 Hz
  Sample formats: U8, S16_LE
  Buffer size range from 80 to 131072
  Period size range from 80 to 131072
  Subdevice 0, name `subdevice #0'
  Subdevice 1, name `subdevice #1'
  Subdevice 2, name `subdevice #2'
  Subdevice 3, name `subdevice #3'
  
  Card 2, ID `A', name `USB-C to 3.5mm Headphone Jack A'
  Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
  2 channels, sampling rate 48000..48000 Hz
  Sample formats: S16_LE, S24_3LE
  Buffer size range from 96 to 262144
  Period size range from 48 to 131072
  Subdevice 0, name `subdevice #0'
  tc@pCP:~$
--------------------



Code:
--------------------
    
  tc@pCP:~$ amixer -c A  scontents
  Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 120
  Mono:
  Front Left: Playback 120 [100%] [0.00dB] [on]
  Front Right: Playback 120 [100%] [0.00dB] [on]
  tc@pCP:~$
--------------------



change to /usr/local/bin/squeezelite -n "piCorePlayer" -o
hw:CARD=A,DEV=0 -a 80:4::0:


Code:
--------------------
    
  tc@pCP:~$ alsacap
  *** Scanning for playback devices ***
  
  Card 0, ID `b1', name `bcm2835 HDMI 1'
  Device 0, ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 4 subdevices (4 
available)
  1..8 channels, sampling rate 8000..192000 Hz
  Sample formats: U8, S16_LE
  Buffer size range from 80 to 131072
  Period size range from 80 to 131072
  Subdevice 0, name `subdevice #0'
  Subdevice 1, name `subdevice #1'
  Subdevice 2, name `subdevice #2'
  Subdevice 3, name `subdevice #3'
  
  Card 1, ID `Headphones', name `bcm2835 Headphones'
  Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphones', 4 subdevices (4 
available)
  1..8 channels, sampling rate 8000..192000 Hz
  Sample formats: U8, S16_LE
  Buffer size range from 80 to 131072
  Period size range from 80 to 131072
  Subdevice 0, name `subdevice #0'
  Subdevice 1, name `subdevice #1'
  Subdevice 2, name `subdevice #2'
  Subdevice 3, name `subdevice #3'
  
  Card 2, ID `A', name `USB-C to 3.5mm Headphone Jack A'
  Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
  2 channels, sampling rate 48000..48000 Hz
  Sample formats: S16_LE, S24_3LE
  Buffer size range from 96 to 262144
  Period size range from 48 to 131072
  Subdevice 0, name `subdevice #0'
  tc@pCP:~$
--------------------




Code:
--------------------
    tc@pCP:~$ amixer -c A  scontents
  Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 120
  Mono:
  Front Left: Playback 120 [100%] [0.00dB] [on]
  Front Right: Playback 120 [100%] [0.00dB] [on]
  tc@pCP:~$
--------------------


------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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

Reply via email to