X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..fe0a1c48c648f683b3691132fb2b12b01d1ace32:/lib/wav.h diff --git a/lib/wav.h b/lib/wav.h index d2de912..3c9c477 100644 --- a/lib/wav.h +++ b/lib/wav.h @@ -22,10 +22,12 @@ #ifndef WAV_H #define WAV_H +#include "hreader.h" + /** @brief WAV file access structure */ struct wavfile { - /** @brief File descriptor onto file */ - int fd; + /** @brief File read handle */ + struct hreader input[1]; /** @brief File length */ off_t length;