X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..375d9478a5b6b14bfb5f6e1a054e900a18e40717:/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;