Audio-MPEG
view release on metacpan or search on metacpan
Revision history for Perl extension Audio::MPEG.
0.04 Sun Jun 17 23:47 2001
- fixed ID3 V2 errors (improper handling of lost synchronization)
- added err_ok() function to Decode
0.03 Sun Jun 17 11:30 2001
- updated documentation (include scalar->array->scalar info)
- added more tests
- first public release (freshmeat announcement)
0.02 Sat Jun 16 15:30 2001
- back ported from Perl 5.6.1 to Perl 5.0 p5l3
#include "decode.h"
char const *
decode_error_str(enum mad_error error)
{
static char str[100];
switch (error) {
case MAD_ERROR_BUFLEN: return "no data in buffer";
case MAD_ERROR_BUFPTR: return "input buffer not initialized";
case MAD_ERROR_NOMEM: return "not enough memory";
case MAD_ERROR_LOSTSYNC: return "lost synchronization";
case MAD_ERROR_BADLAYER: return "reserved header layer value";
case MAD_ERROR_BADBITRATE: return "forbidden bitrate value";
case MAD_ERROR_BADSAMPLERATE: return "reserved sample frequency value";
case MAD_ERROR_BADEMPHASIS: return "reserved emphasis value";
case MAD_ERROR_BADCRC: return "CRC check failed";
case MAD_ERROR_BADBITALLOC: return "forbidden bit allocation value";
case MAD_ERROR_BADSCALEFACTOR: return "bad scalefactor index";
case MAD_ERROR_BADFRAMELEN: return "bad frame length";
case MAD_ERROR_BADBIGVALUES: return "bad big_values count";
case MAD_ERROR_BADBLOCKTYPE: return "reserved block_type";
( run in 0.265 second using v1.01-cache-2.11-cpan-0d8aa00de5b )