32-bit/384KHz audio output via 3.5mm jack

Post Reply
jonathon
Posts: 68
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 17 times
Contact:

32-bit/384KHz audio output via 3.5mm jack

Post by jonathon »

Has anyone managed to get output at other than 16-bit/44.1KHz from the 3.5mm stereo jack?

Output from `pacmd list-sinks` shows this:

Code: Select all

1 sink(s) available.
  * index: 0
	name: <alsa_output.platform-sound.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9009
	volume: front-left: 48496 /  74% / -7.85 dB,   front-right: 48496 /  74% / -7.85 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 0 <alsa_card.platform-sound>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = ""
		alsa.id = "fe.dai-link-1 (*)"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"
		alsa.card = "0"
		alsa.card_name = "G12B-ODROID-N2"
		alsa.long_card_name = "G12B-ODROID-N2"
		alsa.driver_name = "snd_soc_meson_axg_sound_card"
		device.bus_path = "platform-sound"
		sysfs.path = "/devices/platform/sound/sound/card0"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card"
	ports:
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <analog-output>
This is showing "sample spec: s16le 2ch 44100Hz". The DAC is supposed to be 32-bit/384KHz capable (e.g. viewtopic.php?f=176&t=33781&p=245875&hilit=dac#p245875)

Is this something configurable in user-space, or does this require driver support?
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

jonathon
Posts: 68
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 17 times
Contact:

Re: 32-bit/384KHz audio output via 3.5mm jack

Post by jonathon »

There's a reference over here to resampling to 32/384 but nothing concrete viewtopic.php?p=249213
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

User avatar
odroid
Site Admin
Posts: 35909
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1320 times
Been thanked: 913 times
Contact:

Re: 32-bit/384KHz audio output via 3.5mm jack

Post by odroid »

I think upstream kernel might not support the on-chip DAC properly yet.
These users thanked the author odroid for the post:
jonathon (Thu Nov 12, 2020 8:23 pm)

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 0 guests