Mercurial > audlegacy-plugins
comparison src/flacng/seekable_stream_callbacks.c @ 2360:ead24454f4b7
native 24bit output for FLAC
author | Eugene Zagidullin <e.asphyx@gmail.com> |
---|---|
date | Tue, 05 Feb 2008 07:37:00 +0300 |
parents | fa9f85cebade |
children | 194c2f8c2a92 |
comparison
equal
deleted
inserted
replaced
2359:b3475063c000 | 2360:ead24454f4b7 |
---|---|
207 _LEAVE FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; | 207 _LEAVE FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; |
208 } | 208 } |
209 | 209 |
210 if ((frame->header.bits_per_sample != 8) && | 210 if ((frame->header.bits_per_sample != 8) && |
211 (frame->header.bits_per_sample != 16) && | 211 (frame->header.bits_per_sample != 16) && |
212 (frame->header.bits_per_sample != 24)) { | 212 (frame->header.bits_per_sample != 24) && |
213 (frame->header.bits_per_sample != 32)) { | |
213 _ERROR("Unsupported bitrate found in stream: %d!", frame->header.bits_per_sample); | 214 _ERROR("Unsupported bitrate found in stream: %d!", frame->header.bits_per_sample); |
214 _LEAVE FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; | 215 _LEAVE FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; |
215 } | 216 } |
216 | 217 |
217 /* | 218 /* |