Bug 992854 - [tarako] No sound when play some specific m4a music r=kinetik

This commit is contained in:
James Zhang 2014-04-09 18:10:00 +02:00
parent e51c562ec9
commit 314ee9d604

View File

@ -392,7 +392,7 @@ opensl_stream_init(cubeb * ctx, cubeb_stream ** stream, char const * stream_name
*stream = NULL; *stream = NULL;
if (stream_params.rate < 8000 || stream_params.rate > 48000 || if (stream_params.rate < 8000 || stream_params.rate > 88200 ||
stream_params.channels < 1 || stream_params.channels > 32 || stream_params.channels < 1 || stream_params.channels > 32 ||
latency < 1 || latency > 2000) { latency < 1 || latency > 2000) {
return CUBEB_ERROR_INVALID_FORMAT; return CUBEB_ERROR_INVALID_FORMAT;