igorzwx wrote:You do not need to mystify "native speed".
I wasn't trying to mystify anything. I've been reading so much the driver source code, where the term "speed" is often used with the meaning of sample rate, that I replaced one by the other...
Though our cards seems to be a little different with respect to sampling rate control, I could reproduce your results here. I will try to summarize the results of my possible configurations. In the following a 16 bit,44100 Hz and 6 channels file was used:
-Vmix disabled, ratelock disabled,envy.src disabled: the sampling rate was automatically adjusted to 44100 and no warning was printed
-Vmix disabled, ratelock enabled with the value 48000 Hz, envy.src disabled: the warning is displayed(it makes sense as the card was forced to operate at 48000 and the file rate is 44100)
-Vmix disabled, ratelock enabled with the value 48000 Hz, envy.src enabled: no warning because the file sampling rate was converted(by envy24.src) from 44100 to 48000
-Vmix enabled, vmix.src HIGH, ratelock disabled,envy.src disabled: no warnings displayed(the card was set to 48000 by vmix but as vmix.src converted the file sampling rate to 48000 there was no warning)
-Vmix enabled, vmix.src OFF, ratelock disabled,envy.src disabled: the warning is displayed(the card was forced by vmix to operate at 48000 but as the file is 44100 a warning was displayed)
-Vmix enabled, vmix.src OFF, ratelock disabled,envy.src enabled: the warning is displayed (with vmix enabled the option envy24.src seems to be always disabled, so from here on I will ignore it)
-Vmix enabled, vmix.src OFF, ratelock enabled with the value 44100: no warning is displayed (with this configuration the vmix rate was automatically adjusted from 48000 to 44100, that's why there is no warning)
-Vmix enabled, vmix.src OFF, ratelock enabled with values different of 44100: a warning is always displayed (though the vmix rate is always equal to the value set in envy24.rate, such values are different than the one of the played file)
Obs.:with ratelock disabled and vmix enabled the card rate is automatically set to 48000, no matter the rate of the played file
At least in my card, I think that the warnings with enabled vmix and disabled vmix.src are caused because vmix always set the card to 48000 Hz, no matter the played file sampling rate. Without its built-in resampler, the card will almost always be forced to operate in a rate that is different from the one of the file. If before playing the file I use vmixctl to change vmix rate to 44100 and disable vmix.src there is no warning in the output of ossplay.
That's my explanation to the production of warnings in my card, as yours is completely different you may be seeing them for other reasons.