I am wondering if any adjustments need to be made when using the ReadData function if the source format differs from System:setSoftwareFormat.
Suppose a sound source is truly 24-bit stereo @ 48kHz. Further suppose System:setSoftwareFormat is used to set decoding as 16-bit stereo @ 44.1kHz.
Now, since ReadData is a function for accessing the ‘decoded’ data, which format applies? The answer is important because the format of the data determines the number of samples (and bytes) that must be read.
I suppose it would be cool if the latter (i.e., software) format applies, because then we have on-the-fly resampling 😉
- stdev asked 12 years ago
- You must login to post comments