From e4b72f263a4fc1404ede73b8bbe62ce4e7e2209a Mon Sep 17 00:00:00 2001
From: PHO <pho@cielonegro.org>
Date: Wed, 5 Jan 2011 23:50:57 +0900
Subject: [PATCH] docs

---
 Codec/Audio/WavPack/Metadata.hs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Codec/Audio/WavPack/Metadata.hs b/Codec/Audio/WavPack/Metadata.hs
index f7dc2a0..78a99fc 100644
--- a/Codec/Audio/WavPack/Metadata.hs
+++ b/Codec/Audio/WavPack/Metadata.hs
@@ -100,6 +100,8 @@ instance Show SubBlock where
 -- | Dummy metadata to pad WavPack blocks.
 data Dummy
     = Dummy {
+        -- | Must be less than 2^25 bytes long due to the limitation
+        -- of WavPack specification.
         dumSize ∷ Word32
       }
     deriving (Eq, Show, Typeable)
@@ -115,7 +117,9 @@ instance Binary Dummy where
 -- | Unknown but optional metadata found in the WavPack block.
 data Unknown
     = Unknown {
+        -- | The ID of this unknown metadata.
         unkID   ∷ Word8
+        -- | Raw data; must be less than 2^25 bytes long.
       , unkData ∷ L.ByteString
       }
     deriving (Eq, Show, Typeable)
-- 
2.40.0