;

Dependents:   Audio_Player Wav_player_RPG_menu OMNi-Robot_no_borrar

These files are slightly edited from William Marshall's Wav_SD_Card_Read for RS EDP cookbook entry. The necessary parts for our project were extracted.

Wav_Support_File.h

Committer:
rsartin3
Date:
2013-03-04
Revision:
0:a50bba1964ec

File content as of revision 0:a50bba1964ec:

/* Wave File Support Header File */
/* ***************************** */

/* Function Prototypes */
extern unsigned char wave_file_check(unsigned char *wave_array, FILE *open_file);

extern struct wave_header_construction
                {    char  identification_block[5];
                    unsigned int length_of_file;
                    char  identifier1[5];
                    char  identifier2[5];
                    unsigned int position_of_data;
                    unsigned short format_tag;
                    unsigned short number_of_channels;
                    unsigned int samples_per_second;                    
                    unsigned int bytes_per_second;
                    unsigned short bytes_per_sample;
                    unsigned short bits_per_sample;
                    char  marker[5];
                    unsigned int number_of_bits_in_sample;
                } wave_file_info;