[alsa-devel] [PATCH] ALSA: usb-audio: Expose sample resolution through proc interface

Jussi Laako jussi at sonarnerd.net
Mon Feb 18 10:23:47 CET 2019


On 2/18/19 10:40 AM, Takashi Iwai wrote:
> 
> The code change looks but, just some minor issues:
> 
> Please use tabs.  checkpatch will catch such a problem, so please run
> it at the next time before submission.
> 
> I applied the patch with these fixed locally.

OK, thanks! Will do!

Ultimately I would like to get the sample resolution for example through 
snd_pcm_hw_params_get_sbits(), but I didn't find a nice way to get this 
information to the ALSA API without lot of changes all over the place, 
or alternatively introducing a new sample format which I think is not a 
good idea in this case.

I can parse the stream info from proc though, so it is not so much issue.


Best regards,

	- Jussi


More information about the Alsa-devel mailing list