Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Channel swapping problem BPi M1+ SPDIF, I2S output

Featured Replies

Banana Pi M1+

There is a very strange issue using SPDIF and/or I2S output. ( mpd, alsa,  Armiban 4.4, kernel: 3.4.109-banana )

When starting play a new audio track, the left and right channel random swapping.

Upgrading Alsa mpd does not helps. It looks this is known, a kernel level problem. for example:

 

http://mailman.alsa-project.org/pipermail/alsa-devel/2011-February/037038.html

 

Any suggestion how can I solve this issue?

 

Thanks in advance!

  • Author

No problem to build kernel for me. But which kernel version supports ap6210 and SPDIF/i2s 3.4.109 ...and ?

  • Author

The latest image - wheezy , kernel : 3.4.110-sun7i , the issue does not solved. Now I'm checking the 3.4.111 kernel... 

  • Author

Installed the new kernel with your patch, the channel  swapping issue is not solved, but it looks like solved the glitch, noise and freeze issue when change the track or seeking in the track.

  • Author

Sorry.I2S ouput works fine, only SPDIF swaps randomly the left right channels.

In my latest patch fixed issue when change the track or seeking in the track only. I don't use SPDIF and I don't know exists this issue in original linux-sunxi sources or not. I have found swapping channels when recording, but I can't fix it yet.

  • Author

Hi nikkov!

 

Thank you you answare! I found this issue every tested 3.4.xxx kernel. I think the root of the issue could be very similar  to those experienced OMAP platform. (See my first post!). When I start a streem on SPDIF output randomly swapped the left and right channel. The FIFO does not contains valid audio data, only zero, which cause the channel swapping... I think... 

  • Author

Here are some pictures. Every pictures shows when start playing 1Khz sine wave on right channel. 

Visible the wrong signal at start.

ADS00002.jpgADS00003.jpgADS00004.jpgADS00005.jpgADS00006.jpgADS00007.jpgADS00008.jpgADS00009.jpg

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.