All of lore.kernel.org
 help / color / mirror / Atom feed
* S24LE and S32LE format equivalency
@ 2021-12-12 11:16 Marios Sioutis
  2021-12-12 11:51 ` Takashi Sakamoto
  0 siblings, 1 reply; 4+ messages in thread
From: Marios Sioutis @ 2021-12-12 11:16 UTC (permalink / raw)
  To: alsa

Hi all,

Quick question, I was troubleshooting a 24bit USB device and got down 
the rabbit hole of sample formats. The device advertises itself as S24LE 
(4byte payload) but it appears as S32LE under alsa, something that 
bothered me a lot initially. However, If the conversion between the two 
formats is to just << 8 i.e. put a zero byte as LSB, then the two 
formats are essentially equivalent.

Is this actually the case? If yes, who performs the conversion? Is it on 
the alsa side, or the device already adds a zero byte LSB?

Thank you in advance,

Marios


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-12 13:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-12 11:16 S24LE and S32LE format equivalency Marios Sioutis
2021-12-12 11:51 ` Takashi Sakamoto
2021-12-12 13:03   ` Marios Sioutis
2021-12-12 13:40     ` Takashi Sakamoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.