i2S Audio Output?

Moderators: mdrjr, odroid

i2S Audio Output?

Unread postby 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-interfaces/audio-gd-diy-kit-i2s-to-hdmi-output-module-p-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.
Qwin
 
Posts: 3
Joined: Mon Jun 04, 2018 7:24 pm
languages_spoken: english

Re: i2S Audio Output?

Unread postby 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
odroid
Site Admin
 
Posts: 28697
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: i2S Audio Output?

Unread postby 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?
Qwin
 
Posts: 3
Joined: Mon Jun 04, 2018 7:24 pm
languages_spoken: english

Re: i2S Audio Output?

Unread postby 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.
User avatar
odroid
Site Admin
 
Posts: 28697
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID


Return to Projects

Who is online

Users browsing this forum: No registered users and 2 guests