i2S Audio Output?

Post Reply
User avatar
Qwin
Posts: 24
Joined: Mon Jun 04, 2018 7:24 pm
languages_spoken: English
ODROIDs: C2
Location: Durham - UK
Contact:

i2S Audio Output?

Unread post by Qwin » Mon Jun 04, 2018 8:11 pm

I am looking at using an XU4/Android/Kodi as the vehicle for my file based music system, though have not purchased anything yet.

Does anyone have any experience with Audio output via i2S?

I did a search but couldn't see anything on the topic.

There is obviously no i2S output socket on the board, I am considering adding an HDMI i2S output socket using something like the Audio-GD PCB linked below and connecting to the GPIO header. My DAC has an HDMI i2S input socket.

https://www.audiophonics.fr/en/diy-inte ... -9347.html

I presume some settings will need changing to make i2S the default audio output?

Anyone tried any of this?

I know it can be done on a RPi but don't like the inferior spec on those boards.

User avatar
odroid
Site Admin
Posts: 29408
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: i2S Audio Output?

Unread post by odroid » Mon Jun 04, 2018 8:42 pm

Here is an example of I2S device interface on XU4.
https://wiki.odroid.com/accessory/sound ... oom_bonnet
http://www.hardkernel.com/main/products ... 0067146391
Note that Android can supports only 44.1Khz/16bit output mode due to the audioflinger limitation in Android AOSP.

User avatar
Qwin
Posts: 24
Joined: Mon Jun 04, 2018 7:24 pm
languages_spoken: English
ODROIDs: C2
Location: Durham - UK
Contact:

Re: i2S Audio Output?

Unread post by Qwin » Mon Jun 04, 2018 9:06 pm

Excellent, just the kind of information I was looking for, thanks for that odroid.

The restriction with Android is an eye opener, will not be going there.

I am presuming if I use Ubuntu there will be no restriction, I am looking for 24bit/96khz Flac as my file standard, would Ubuntu work with that?

User avatar
odroid
Site Admin
Posts: 29408
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: i2S Audio Output?

Unread post by odroid » Thu Jun 07, 2018 6:17 pm

No. Ubuntu resamples the output to 48Khz/16bit via pulse-audio since HDMI and I2S bus shares one pipeline.

Consider using ODROID-C2 which supports 192Kh/24bit I2S output on Linux platforms if you are an audiophile.

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest