I've quickly knocked up a Datatypes player for TuneNet - for those arkward files that you have datatypes for, but no TuneNet plug-in!
It will appear on Aminet shortly for testing purposes. Don't expect too much from it yet - it's mono only and often files play at the wrong speed.
I have some questions (the first couple are for Bean probably):
Can I set the priority of the plug-in? At the moment it is taking precedence over the AIFF plug-in, and I really want this to be a "last resort" plug-in for when TuneNet doesn't have a proper one for a certain file. There needs to be some sort of priority setting so I can whack it down to -127 or something.
Can I set the buffer to 8-bit? It appears to be stuck on 16-bit only. Failing that, is there an easy way to convert from 8-bit to 16-bit data. I'm just typecasting the data so I'm surprised it is working at all. This might be where some of the speed problems are coming from, maybe (although it may be the datatypes not reporting the frequency correctly, or something else I've done wrong)
How do I get the data out of a streaming datatype? Is it possible?
Why I can't I give ObtainDataType() a name to try matching against if I specify DTST_MEMORY? This is required for descriptors that need a filename match, you can't do it unless you read from a file (and the clipboard is not a problem as this should be in IFF format anyway)
Oh, and finally, how do I stop TuneNet from remembering my playlist all the sodding time? I'm tempted to revert to the old version to get rid of this new "feature".
Other than that, nice work
Chris