Ivan Orlov d1eb913c8d ALSA: pcm: Fix snd_pcm_format_name function
Fix snd_pcm_format_name so it won't return NULL-pointer in case if it
can't find the format in the 'snd_pcm_format_names' list. Return
"Unknown" instead, as it is done if the number passed to the function
is larger than a list size.

Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20240125223522.1122765-2-ivan.orlov0322@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2024-01-30 14:11:29 +01:00
..
2023-08-17 09:23:30 +02:00
2023-08-17 09:24:01 +02:00
2022-08-06 10:19:51 -07:00
2023-05-23 12:11:09 +02:00
2022-07-29 12:57:10 +02:00