From 2e2959dcb2d780e58433e4892126f864b0efae26 Mon Sep 17 00:00:00 2001 From: PHO Date: Thu, 21 Jul 2011 07:17:11 +0900 Subject: [PATCH] diagram of wvparse --- docs/components.rst | 72 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/docs/components.rst b/docs/components.rst index 5770f63..5f86f3f 100644 --- a/docs/components.rst +++ b/docs/components.rst @@ -15,12 +15,18 @@ Diagram:: | | `---------' +Input +~~~~~ + control event * Open FilePath * Seek SeekMode Integer * Read Int * Close +Output +~~~~~~ + octet stream event ByteString (response for the "Read" event) @@ -28,6 +34,72 @@ reactive state value * Open Integer Integer -- size and the current position * Closed + +------- +wvparse +------- + +Diagram:: + + parser ctl + -----------. + v + wv stream ,---------. wv ctrl + ---------->| |----------> + wvc stream | | wv blocks + ---------->| wvparse |----------> + | | wvc ctrl + | |----------> + `---------' wvc blocks + | | `-----------> + | | media tags + | `-------------> + | state + `---------------> + +Input +~~~~~ + +parser control event + SeekableParserCtrl + * GetNext + * FindTags + * Seek Integer -- sample index + + NonSeekableParserCtrl + * GetNext + +wv stream event + ByteString + +wvc stream event + Maybe ByteString + +Output +~~~~~~ + +wv/wvc control event + Seekable + * Seek SeekMode Integer + * Read Int + + NonSeekable + * Read Int + +wv block event + WavPack.Block + +wvc block event + Maybe WavPack.Block + +reactive media tags + Map Text Text + +reactive state value + * Active + * Inactive + + ----- wvdec ----- -- 2.40.0