Removed overly optimistic test ocde for SUN audio. Coverity CID 21846.

This commit is contained in:
Thomas Schmitt 2015-10-26 18:40:29 +00:00
parent eb8469ba22
commit 234824108f
2 changed files with 1 additions and 5 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2015.10.26.183813" #define Cdrskin_timestamP "2015.10.26.184231"

View File

@ -208,10 +208,6 @@ static int libdax_audioxtr_identify_au(struct libdax_audioxtr *o, int flag)
sprintf(o->fmt_info, sprintf(o->fmt_info,
".au , num_channels=%d , sample_rate=%d , bits_per_sample=%d", ".au , num_channels=%d , sample_rate=%d , bits_per_sample=%d",
o->num_channels,o->sample_rate,o->bits_per_sample); o->num_channels,o->sample_rate,o->bits_per_sample);
/* <<< for testing only */;
return(1);
return(o->bits_per_sample>0); /* Audio format must be linear PCM */ return(o->bits_per_sample>0); /* Audio format must be linear PCM */
} }