More > JRiver Media Center 28 for Linux

Can MC output in 64-bit or is 32-bit the max ?

(1/2) > >>

ths61:
Can MC output in 64-bit or is 32-bit the max ?

Thanks much.

JimH:
I assume you mean audio.  MC will output whatever the device and its driver support.

ths61:

--- Quote from: JimH on October 17, 2021, 07:49:30 am ---I assume you mean audio.  MC will output whatever the device and its driver support.

--- End quote ---

JimH, thanks much. 

I am trying to output JRMC28 AUDIO to Alsa_cdsp (an ALSA I/O plugin), then CamillaDSP in FLOAT64_LE on Debian 11-64 (kernel 5.14) and finally to the 8 channel DAC (same behavior on Debian 10-64 with JRMC26 and JRMC27).

https://github.com/scripple/alsa_cdsp

https://github.com/HEnquist/camilladsp

When I select Alsa_cdsp as the AUDIO output device, JRMC28's "Device Settings/PCM Output Format" pulldown list only shows 4 (of 6) specific formats (Auto, S32_LE, S24_3LE, S24_LE and S16_LE). 

FLOAT_LE and FLOAT64_LE are NOT listed as options.

Alsa_cdsp supposedly publishes(via SND_PCM_IOPLUG_HW_FORMAT) the following 6 supported PCM I/O MUSIC formats (same formats as CamillaDSP).  S32_LE is the largest format presented in the MC[26,27,28] pulldown list (and works with that format).


--- Code: ---  // Configure "hw" constraints
  unsigned int format_list[] = {
    SND_PCM_FORMAT_S16_LE,
    SND_PCM_FORMAT_S24_LE,
    SND_PCM_FORMAT_S24_3LE,
    SND_PCM_FORMAT_S32_LE,
    SND_PCM_FORMAT_FLOAT_LE,
    SND_PCM_FORMAT_FLOAT64_LE
  };

  snd_pcm_ioplug_set_param_list(&pcm->io, SND_PCM_IOPLUG_HW_FORMAT, 6, format_list);

--- End code ---

Do you have any idea why FLOAT_LE and FLOAT64_LE are not offered in the JRMC28's "PCM Output Format" list ?

I would like to not drop down to 32 bits if possible.

Thanks again

ths61:
UPDATE:

I tried 2 USB DACs and onboard audio.  I get the same 4 options in JRMC28 no matter what audio device I select.

I updated the alsa_cdsp plugin code to only publish 1 format (S16_LE) and installed it.  JRMC28 still offers the same 4 options after reboot even though only 1 is published. 

I also tried adding in 2 more options for a total of 8 and the pull down list still displays the same 4 options after reboot even though 8 are published. 

There does not appear to be a correlation between the ALSA PCM plugin's published formats and the JRMC28 pulldown list.

Should this be flagged as a bug ?
 

--- Code: ---// Configure "hw" constraints
  unsigned int format_list[] = {
    SND_PCM_FORMAT_S16_LE
  };

  snd_pcm_ioplug_set_param_list(&pcm->io, SND_PCM_IOPLUG_HW_FORMAT, 1, format_list);

--- End code ---

Awesome Donkey:
What DAC are you using? All the DACs I've used or seen max out with 32-bit bit-depth support.

Navigation

[0] Message Index

[#] Next page

Go to full version