Newer
Older
Scratch / mobius / src / drivers / sound / wav85.c
/*****************************************************************************
MP3
sub-format 85 of .WAV format

Who wants to implement this for me? :)
*****************************************************************************/
#include "sound.h"

/* in WAV.C */
int wav_validate(sound_info_t *info, unsigned sub_type);
/*****************************************************************************
*****************************************************************************/
static int validate(sound_info_t *info)
{
/* WAV sub-format #85 is MP3 */
	if(wav_validate(info, 85) == 0)
		printf("SORRY, MP3 NOT (YET) SUPPORTED...");
	return -1;
}
/*****************************************************************************
*****************************************************************************/
static int get_sample(sound_info_t *info, short *left, short *right)
{
	return -1;
}
/*****************************************************************************
*****************************************************************************/
codec_t _wav85 =
{
	".wav MP3", validate, get_sample
};