diff wave.h @ 2288:efc75ea79164

Support WAVE files in CUE sheets
author Michael Pavone <pavone@retrodev.com>
date Wed, 18 Jan 2023 23:31:44 -0800
parents 140af5509ce7
children
line wrap: on
line diff
--- a/wave.h	Sat Jan 14 09:23:50 2023 -0800
+++ b/wave.h	Wed Jan 18 23:31:44 2023 -0800
@@ -1,6 +1,6 @@
 /*
  Copyright 2013 Michael Pavone
- This file is part of BlastEm. 
+ This file is part of BlastEm.
  BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text.
 */
 #ifndef WAVE_H_
@@ -37,6 +37,7 @@
 #pragma pack(pop)
 
 int wave_init(FILE * f, uint32_t sample_rate, uint16_t bits_per_sample, uint16_t num_channels);
+uint8_t wave_read_header(FILE *f, wave_header *header);
 int wave_finalize(FILE * f);
 
 #endif //WAVE_H_