We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8270267 commit 98f82eaCopy full SHA for 98f82ea
1 file changed
src/libhrmp/files.c
@@ -63,7 +63,11 @@ hrmp_is_file_metadata_supported(int device, struct file_metadata* fm)
63
64
if (device >= 0 && fm != NULL)
65
{
66
- if (fm->bits_per_sample == 16)
+ if (fm->bits_per_sample == 8)
67
+ {
68
+ hrmp_log_error("Unsupported sample rate: %d", fm->sample_rate);
69
+ }
70
+ else if (fm->bits_per_sample == 16)
71
72
if (config->devices[device].capabilities.s16_le)
73
0 commit comments