diff options
Diffstat (limited to 'doc/examples/mp3-short.json')
-rw-r--r-- | doc/examples/mp3-short.json | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/doc/examples/mp3-short.json b/doc/examples/mp3-short.json new file mode 100644 index 0000000..ad30723 --- /dev/null +++ b/doc/examples/mp3-short.json @@ -0,0 +1,68 @@ +{ + "tasks" : { + "AudioTick" : { + "priority" : -19, + "loop" : -1, + "cpus" : [0], + "phases" : { + "p1" : { + "loop" : 1, + "resume" : "AudioOut", + "timer" : { "ref" : "tick", "period": 6000 } + }, + "p2" : { + "loop" : 4, + "timer" : { "ref" : "tick", "period": 6000 } + } + } + }, + "AudioOut" : { + "priority" : -19, + "loop" : -1, + "run" : 275, + "resume" : "AudioTrack", + "run" : 4725, + "suspend" : "AudioOut" + }, + "AudioTrack" : { + "priority" : -16, + "loop" : -1, + "suspend" : "AudioTrack", + "run" : 300, + "resume" : "mp3.decoder" + }, + "mp3.decoder" : { + "priority" : -2, + "loop" : -1, + "suspend" : "mp3.decoder", + "run" : 1000, + "lock" : "mutex", + "signal" : "queue", + "wait" : { "ref" : "queue", "mutex": "mutex" }, + "unlock" : "mutex", + "run" : 150 + }, + "OMXCall" : { + "priority" : -2, + "loop" : -1, + "lock" : "mutex", + "wait" : { "ref" : "queue", "mutex": "mutex" }, + "unlock" : "mutex", + "run" : 300, + "lock" : "mutex", + "signal" : "queue", + "unlock" : "mutex" + } + }, + "global" : { + "default_policy" : "SCHED_OTHER", + "duration" : 6, + "ftrace" : false, + "gnuplot" : false, + "logdir" : "./", + "log_basename" : "mp3", + "lock_pages" : true, + "frag" : 1, + "calibration" : "CPU0" + } +} |