More > JRiver Media Center 26 for Linux

Raspberry Pi4 8GB - does it handle multi-channel FLAC / DSF files

<< < (4/4)

stevemac:
Hi Bob,

MC can play to the HDMI device, but not the virtual device I created.  I believe the .asoundrc entries I created are incorrect (1st time playing with ALSA).  Channel mapping appears to be correct though (issuing command speaker-test -Dplug:lpcm6ch -c6 -twav)

The PI Model B is still running MC v22.  I'll upgrade, reattempt entries in .asoundrc and post back in a couple of days

Can you suggest a source for test files?  looking for 5.1 in 16bit and 24bit  at rates 48000hz, 96000hz and 192000hz.  If I can get 16bit working OK, then I'll update the kernel and attempt 24bit

aplay and alsacap results


--- Code: ---pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
pi@raspberrypi:~ $ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
lpcm6ch
sysdefault:CARD=b1
    bcm2835 HDMI 1, bcm2835 HDMI 1
    Default Audio Device
dmix:CARD=b1,DEV=0
    bcm2835 HDMI 1, bcm2835 HDMI 1
    Direct sample mixing device
dsnoop:CARD=b1,DEV=0
    bcm2835 HDMI 1, bcm2835 HDMI 1
    Direct sample snooping device
hw:CARD=b1,DEV=0
    bcm2835 HDMI 1, bcm2835 HDMI 1
    Direct hardware device without any conversions
plughw:CARD=b1,DEV=0
    bcm2835 HDMI 1, bcm2835 HDMI 1
    Hardware device with all software conversions
sysdefault:CARD=Headphones
    bcm2835 Headphones, bcm2835 Headphones
    Default Audio Device
dmix:CARD=Headphones,DEV=0
    bcm2835 Headphones, bcm2835 Headphones
    Direct sample mixing device
dsnoop:CARD=Headphones,DEV=0
    bcm2835 Headphones, bcm2835 Headphones
    Direct sample snooping device
hw:CARD=Headphones,DEV=0
    bcm2835 Headphones, bcm2835 Headphones
    Direct hardware device without any conversions
plughw:CARD=Headphones,DEV=0
    bcm2835 Headphones, bcm2835 Headphones
    Hardware device with all software conversions
pi@raspberrypi:~ $ /usr/lib/jriver/Media\ Center\ 22/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 rates 8000, 11025, 16000, 22050, 32000, 44100, 48000, 88200, 96000, 176400, 192000 Hz
    Sample formats: U8, S16_LE
      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 rates 8000, 11025, 16000, 22050, 32000, 44100, 48000, 88200, 96000, 176400, 192000 Hz
    Sample formats: U8, S16_LE
      Subdevice 0, name `subdevice #0'
      Subdevice 1, name `subdevice #1'
      Subdevice 2, name `subdevice #2'
      Subdevice 3, name `subdevice #3'
pi@raspberrypi:~ $
--- End code ---


.asoundrc entries

--- Code: ---pi@raspberrypi:~ $ cat .asoundrc
pcm.!default {
        type hw
        card 0
}

pcm_slave.sl3 {
        pcm "hw:0,0"
        format S16_LE
        channels 6
        rate 48000
}

pcm.lpcm6ch {
        type plug
        slave sl3
        ttable.0.0 1
        ttable.1.1 1
        ttable.2.4 1
        ttable.3.5 1
        ttable.4.3 1
        ttable.5.2 1
}

ctl.!default {
        type hw
        card 0
}
pi@raspberrypi:~ $

--- End code ---

thanks,

Steve

bob:
https://www.jensign.com/bdp95/7dot1voiced/index.html

Just 48k but you could resample them in MC's conversion routine.

BTW, no matter what you should be able to enable the dolby encoder in MC. I use that out the Optical port on my Id but it works on HDMI too.

stevemac:
thx Bob

Navigation

[0] Message Index

[*] Previous page

Go to full version