PCM multichannel (LPCM) in X96 Air

Any pointers on how I can get started on debugging this issue? Happy to edit source code and build the image, but I don’t even know where to start.

I doubt there is anything to change. The code should work on all generic boxes too. SoC is the same as Odroid C4.
I think it is the settings.

Try setting it to 7.1 and see if there’s any difference.

I tried 7.1, still only 2 channels work :(. My settings are as follows

  1. Audio output device: ALSA:AML-AUGESOUND, HDMI Multi Ch PCM
  2. Number of channels: 7.1 (tried 5.1 too)
  3. Output configuration: Best match (tried optimized and fixed too)
  4. Stereo upmix: off
  5. Allow passthrough: off

Thanks for the help, but seems like something is off. May be X96 Air is different from ODroid C4. I will see if I can find a thread specifically for X96 air and ask someone with the same box if they were able to get LPCM working.

Try Allow Passthrough.

I actually don’t want passthrough. I know it sounds a bit strange, but I want all my media decoded to PCM and played that way. The issue is that my AVR can only decode DD and DTS. The way I have things setup is I set high volume on my AVR and control the volume using the media center remote. Now, when I play movies with DD or DTS and passthrough, the audio is bit streamed and my speakers blare with full sound. I have to control sound using my AVR remote which doesn’t work anymore.

I rather have volume control in one place which coreelec. That is only possible either with LPCM or lossy transcoding. I prefer LPCM since my AVR can handle it. The last option would be to transcode even DD audio so there is volume control. I know it sounds crazy to decode a lossy audio for volume adjustment and then transcode to another lossy format :). But I prefer volume control over some loss of audio quality if it comes to it.

But to your point, I did try passthrough and 5.1 AAC audio still plays only through 2 speakers although I set the number of channels to 5.1.

Or you could use CEC to control the volume of your AVR using the tv remote.

True, but there are some other side effects of CEC that I’d like to avoid. For now it seems like I might have to go with transcoding. If some one confirms LPCM working on X96 Air then I can try their settings. Or may be I will wait for Kodi 19 with linux kernel 5.6 which might get HDMI PCM working for S905X3 boards.

You must wait a long time …
Mainline on Amlogic is still pre alpha

That’s unfortunate. But CoreELEC is doing pretty much everything I need except for LPCM. I guess I can live with it. Thanks to the whole CoreELEC team for making this possible!

But normally you can setup what your AVR is capable of in the audio settings. Can’t you just unset everything? But you say that a 7.1 aac file doesn’t play either right.

Yes I tried unsetting all passthrough formats (but allowed passthrough) and tried AAC file. Still got 2 channels. I pretty much tried all sorts of combinations really :slight_smile:

Why are you so fixated on LPCM ?

For the reasons mentioned in PCM multichannel (LPCM) in X96 Air

In summary, I just want to use one remote (the X96 Air remote) to control volume. If I enable passthrough I need to control volume using AVR remote that does not work.

I don´t understand :thinking:
My AVR is controlled by my Minix A2 remote.
Don´t think it´s any CE issue which could be fixed by the devs

LPCM works on the whole range of devices, including S905X3, it’s either your box or your AVR that’s causing issues.

Ah yes, I guess you have CEC enabled. I can’t have CEC. I know, I have too many restrictions. I understand this is probably a very tiny use case. Just need to upgrade a few things around here to the latest tech. Hopefully I will do it at some point.

Cool, thanks! I will figure out.

Or the very special “user-settings”

Yes, but this falls under the “box” category :slight_smile:

@chandan7
Trying to do system reset\a clean install might be something worth trying. You can create a back of your current setup, or use another SD card. Then try it by changing the channel number, without touching anything else.