View Single Post
Old 07-18-2012, 10:10 PM   #234
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,586
Karma: 6299993
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
indexer = 4096*(playcount * WaveChannels * (WaveBits/16) * 2);

should sort the multi - bit - channel - rate issue.
Where 4096 is the maximum amount of frames the card will allow stacked.

Should handle most - normalish - rate wav files now - mono or stereo - 8 or 16 bit.

I changed the call to the thread - now with a NULL message Type.
(The thread warning about the messageType being of an inconsistent type still puzzles me, I have checked it against the parent method, NULL seems the least unhappy)

I'll post my silly test code here in a moment.
No more seggies through running off the end of the file or threads not ending together

while (4096*(playcount)< WaveSize)
Sorted that out.

Last edited by twobob; 07-18-2012 at 10:13 PM. Reason: added support specifications
twobob is offline   Reply With Quote