View Single Post
Old 07-14-2012, 08:21 AM   #143
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Right. Vsync. Threads. Yep this was never about showing it working. Simply about making sound and vision together before I got in bed.

: ) Thanks for your great and as always sage feedback.

EDIT: Updated the above code and forwarded via PM.

Running this code now WITHOUT a stdin stream produces less than 1% use on K3

TODO: Unified format - striped in some way to be determined.

Settle on an audio format (or make it dynamically determine format of audio (or fix this) / channel count / rate etc. and setup the buffer skips accordingly.)

Look into Timestamped/timeindexed data stream and maybe locking via mtuex all protected stream info

Replace stdin and Zcat Zcat uses about 7% of sys resources at the moment. that will be a nice saving assuming the internal de/compression aces that for performance.

Try threading audio rather than callback (although audio is now pretty solid), add some thread efficiency monitoring code.

Look into suspending audio buffers and providing << >> |> [] ["] Transport options.

Add a GUI. Nice to have

Last edited by twobob; 07-14-2012 at 11:58 AM. Reason: added that I updated the code, added TODO list
twobob is offline   Reply With Quote