Hi Mike,
Some comments on the parallelisation issue:
- As far as I am aware (yes, I'm fishing for correction here) .mp3 uses
a strongly predictive coding scheme. I.e. the encoding of a given part
of the signal depends on what has gone before it. As a result there is
no "naive" way you can cut and paste seperately encoded chunks without
and audible "click". To succeed you'd have to overlap
the encoded chunks enough to ensure encoding becomes insignificantly
different across the chunk boundary. I have no idea how far this
might be but with luck it might only be each "major" frame.
- An alternative might be to split at a much finer grain. E.g. Streaming
the various stages of signal procesing along a pipeline rather than by
parameter passing and splitting the DCT buckets between threads. The
"patch" would leave only fragments of the dist10 code unchanged, but
really, who cares...
Andrew