At Tue, 21 Aug 2012 14:31:55 +0200, Jaroslav Kysela wrote:
Date 21.8.2012 14:15, Takashi Iwai wrote:
For getting the channel map, the driver could send a notification once when routing is changed.
This leads to this question: Why you define the map controls volatile? I think that the channel map changes can be tracked nicely using the standard control event notifications without any hidden changes. Perhaps, the value change event may be invoked each time after prepare and when the user space set the new values and also in above situation, when the channel map is changed on an external request.
What I had in my mind for the volatile flag was how to avoid the effect by "alsactl restore". But since the set op was changed only for the prepared state, the volatile flag can be removed, I think.
Takashi