From bcacdad2df44cb9f401c69cc10198663fd0f94b2 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 2 Dec 2004 14:21:30 +0000 Subject: [PATCH] usecases Original commit message from CVS: usecases --- docs/random/usecases | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/random/usecases diff --git a/docs/random/usecases b/docs/random/usecases new file mode 100644 index 0000000000..5fa895afe0 --- /dev/null +++ b/docs/random/usecases @@ -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