usecases
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 2 Dec 2004 14:21:30 +0000 (14:21 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 2 Dec 2004 14:21:30 +0000 (14:21 +0000)
Original commit message from CVS:
usecases

docs/random/usecases [new file with mode: 0644]

diff --git a/docs/random/usecases b/docs/random/usecases
new file mode 100644 (file)
index 0000000..5fa895a
--- /dev/null
@@ -0,0 +1,44 @@
+Use cases for audio applications
+--------------------------------
+
+ANALYSIS
+========
+
+* find start and end  -x dB boundary
+
+* find overall volume for complete track (peak/RMS/average)
+
+* do level-triggered playback
+
+CUE FILES
+=========
+
+Given a long audio file and a .cue file:
+- an element should be able to read an audio input stream and a cue input
+  stream and send new-media events based on the .cue file information
+- a audiocdsink should be able to record this stream straight to disk
+
+Use cases for core functionality
+--------------------------------
+
+THREADS
+=======
+
+* { sinesrc } ! { queue ! osssink }
+  - play thread
+  - pause input thread
+  - output thread should keep playing as long as queue not empty
+  - play input thread again
+  - no gaps should be heard
+
+Use cases for video applications
+--------------------------------
+
+THUMBNAILING
+============
+- load file
+- figure out if it's playable
+- ask length of file
+- seek to middle
+- snapshot one frame
+- save to disk