;

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.

Committer:
rsartin3
Date:
Mon Mar 04 22:37:06 2013 +0000
Revision:
0:a50bba1964ec
;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rsartin3 0:a50bba1964ec 1 /* Wave File Support Header File */
rsartin3 0:a50bba1964ec 2 /* ***************************** */
rsartin3 0:a50bba1964ec 3
rsartin3 0:a50bba1964ec 4 /* Function Prototypes */
rsartin3 0:a50bba1964ec 5 extern unsigned char wave_file_check(unsigned char *wave_array, FILE *open_file);
rsartin3 0:a50bba1964ec 6
rsartin3 0:a50bba1964ec 7 extern struct wave_header_construction
rsartin3 0:a50bba1964ec 8 { char identification_block[5];
rsartin3 0:a50bba1964ec 9 unsigned int length_of_file;
rsartin3 0:a50bba1964ec 10 char identifier1[5];
rsartin3 0:a50bba1964ec 11 char identifier2[5];
rsartin3 0:a50bba1964ec 12 unsigned int position_of_data;
rsartin3 0:a50bba1964ec 13 unsigned short format_tag;
rsartin3 0:a50bba1964ec 14 unsigned short number_of_channels;
rsartin3 0:a50bba1964ec 15 unsigned int samples_per_second;
rsartin3 0:a50bba1964ec 16 unsigned int bytes_per_second;
rsartin3 0:a50bba1964ec 17 unsigned short bytes_per_sample;
rsartin3 0:a50bba1964ec 18 unsigned short bits_per_sample;
rsartin3 0:a50bba1964ec 19 char marker[5];
rsartin3 0:a50bba1964ec 20 unsigned int number_of_bits_in_sample;
rsartin3 0:a50bba1964ec 21 } wave_file_info;
rsartin3 0:a50bba1964ec 22