Getting Max2Play to work on it with the Matrix - NanoHat PCM
Posted: Sun Feb 19, 2017 1:44 pm
I got the Matrix - NanoHat PCM5102A for my NanoPi NEO Air. Installed Max2play on it and I can go to it's web page but can't start the player.
I can play a mp3 on the command line and it works looks like this:
root@air:~# madplay /media/Nintendo\ -\ Dire\,\ Dire\ Docks.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
Title: Dire, Dire Docks
Artist: Nintendo
Album: Super Mario 64
Track: 9
Genre: Soundtrack
7126 frames decoded (0:03:06.1), -0.8 dB peak amplitude, 0 clipped samples
root@air:~#
This my help in the debug of the Max2play is shows this:
I got this screen shot here and that my help to know what is wrong. It's here.
-Raymond Day
I can play a mp3 on the command line and it works looks like this:
root@air:~# madplay /media/Nintendo\ -\ Dire\,\ Dire\ Docks.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
Title: Dire, Dire Docks
Artist: Nintendo
Album: Super Mario 64
Track: 9
Genre: Soundtrack
7126 frames decoded (0:03:06.1), -0.8 dB peak amplitude, 0 clipped samples
root@air:~#
This my help in the debug of the Max2play is shows this:
Code: Select all
#### SQUEEZELITE VERSION ####
Squeezelite v1.8.6-830, Copyright 2012-2015 Adrian Smith, 2015-2017 Ralph Irving.
#### SQUEEZELITE BUILDOPTIONS ####
Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT DSD
#### AUDIOPLAYER CONFIG ####
### Configuration of Audioplayers
SQUEEZELITE_PARAMETER=-o dmix:CARD=sndhdmi,DEV=0 -a 80:4:: madplay
SQUEEZESLAVE_PARAMETER=-n plugequal
SHAIRPORT_PARAMETER=-d plughw:CARD=sndhdmi,DEV=0
USE_USB_DAC=0
USE_EQUALIZER=0
#### SQUEEZELITE -l ####
Output devices:
null - Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=Pcm5102a - Pcm5102a, - Default Audio Device
dmix:CARD=Pcm5102a,DEV=0 - Pcm5102a, - Direct sample mixing device
dsnoop:CARD=Pcm5102a,DEV=0 - Pcm5102a, - Direct sample snooping device
hw:CARD=Pcm5102a,DEV=0 - Pcm5102a, - Direct hardware device without any conversions
plughw:CARD=Pcm5102a,DEV=0 - Pcm5102a, - Hardware device with all software conversions
sysdefault:CARD=sndhdmi - sndhdmi, - Default Audio Device
dmix:CARD=sndhdmi,DEV=0 - sndhdmi, - Direct sample mixing device
dsnoop:CARD=sndhdmi,DEV=0 - sndhdmi, - Direct sample snooping device
hw:CARD=sndhdmi,DEV=0 - sndhdmi, - Direct hardware device without any conversions
plughw:CARD=sndhdmi,DEV=0 - sndhdmi, - Hardware device with all software conversions
#### SHAIRPORT VERSION ####
2.8.6-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/usr/local/etc
#### OUTPUT SOUND DETAILS CARD 0 ####
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 4410
buffer_size: 22050
#### OUTPUT SOUND DETAILS CARD 1 ####
closed
I got this screen shot here and that my help to know what is wrong. It's here.
-Raymond Day