17 Dec
2018
17 Dec
'18
4:40 p.m.
On Mon, Dec 17, 2018 at 05:03:04PM +0200, Dimitris Papavasiliou wrote:
On 12/17/18 4:10 PM, Mark Brown wrote:
It shouldn't be called while the stream is running, if it is it'd be entirely fine to just return an error.
It's not called while the stream is running, or at least I haven't seen that happen. It can be called though, while the device is opened and fully powered up, for instance when switching tracks during playback, where the next track has a different sample rate. This scenario is relatively frequent during normal use of a DAC and can't be avoided, as far as I can see.
That's why I was suggesting that you should be configuring the power down time.