Krisbee wrote: 
> This would suggest your problem with 24bit audio is board/software
> related.  Have you tried a direct play test with aplay or mplayer?
> Something like: 
> 
> > 
Code:
--------------------
  >   > aplay -v -D hw:CARD=DAC,DEV=0  test.wav
--------------------
> >  or > 
Code:
--------------------
  >   > mplayer -ao alsa:device=plughw=0.0 test.flac
--------------------
> > 
> 
> To build squeezelite on your RADXA you'd need your distro's build
> essentials package, some audio libraries and git to pull the code. Are
> you using ARCH ARM?  Then IIRC it's base-devel.  Just follow this
> thread starting from the install git point and stopping at the make
> using your distro's package commands.  
> 
> http://forums.slimdevices.com/showthread.php?98152-HOWTO-Install-squeezelite-for-logitech-media-server-on-Debian-Squeeze-as-a-service
> 
> Once you've built squeezelite on your RADXA baord, turn the
> localplayer plugin off in LMS if you're using it and test squeezelte
> direct from the  /opt/squeezelite build directory.
> 
> Should it make a difference (I don't expect it will) and you want to
> use the localplayer plugin in LMS, simply overwrite the plugin version
> of squeezelite with your compiled version.  Find will show you the
> correct plugin directory and file names, e.g.:
> 
> > 
Code:
--------------------
  >   > find /opt -name squeezelite* -type f
  > /opt/squeezelite/squeezelite
  > /opt/squeezelite/squeezelite.h
  > 
/opt/logitechmediaserver/cache/InstalledPlugins/Plugins/LocalPlayer/Bin/squeezelite-armv6hf
  > 
/opt/logitechmediaserver/cache/InstalledPlugins/Plugins/LocalPlayer/Bin/squeezelite-i386
  > 
/opt/logitechmediaserver/cache/InstalledPlugins/Plugins/LocalPlayer/Bin/squeezelite-armv6
  > 
/opt/logitechmediaserver/cache/InstalledPlugins/Plugins/LocalPlayer/Bin/squeezelite-x86-64
  > 
/opt/logitechmediaserver/cache/InstalledPlugins/Plugins/LocalPlayer/Bin/squeezelite-armv5te
--------------------
> > 
> 
> Depending on your distro, you may need to substitute "var" for "opt",
> or search from "/".

Here's what I have on the aplay command so it does work:

john@radxa:~$ aplay -v -D hw:CARD=DAC,DEV=0 
/home/john/Music/piano2.wav
Playing WAVE '/home/john/Music/piano2.wav' : Signed 16 bit Little
Endian, Rate 48000 Hz, Stereo
Hardware PCM card 3 'HiFimeDIY DAC' device 0 subdevice 0
Its setup is:
stream       : PLAYBACK
access       : RW_INTERLEAVED
format       : S16_LE
subformat    : STD
channels     : 2
rate         : 48000
exact rate   : 48000 (48000/1)
msbits       : 16
buffer_size  : 24000
period_size  : 6000
period_time  : 125000
tstamp_mode  : NONE
period_step  : 1
avail_min    : 6000
period_event : 0
start_threshold  : 24000
stop_threshold   : 24000
silence_threshold: 0
silence_size : 0
boundary     : 1572864000
appl_ptr     : 0
hw_ptr       : 0

But it is in 16 bit mode.  16 bit works perfectly.  I have a Linux Mint
computer, a Cubox -i, and several Raspberry Pi's that use the same DAC
at 24/96 with no problems.  I suspect it is with this weird lubuntu
setup.  On the Rasp Pi on Squeezeplug v6 I could change the asound.conf
file to get rid of pops and cracks but there is no asound.conf file on
this lubuntu distro.  Not sure what is controlling what here.

I'll try to play some 24 bit files and see what the output is. Then I'll
know if it is Squeezelite or the computer, or both.


------------------------------------------------------------------------
hagensieker's Profile: http://forums.slimdevices.com/member.php?userid=59959
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to