At Tue, 30 May 2006 15:26:10 +0200, Johannes Berg wrote: > > > > > > + return 1; > > > > > > > > The put callback is supposed to return 0 if the values are unchanged > > > > (although most apps ignore the return value). > > > > > > Does it have to? This way there's an event, but... > > > > Yes, in principle. As mentioned, it works even without the check, > > though. > > Hmm. I thought it worked like this: > 0 -> no change > 1 -> change applied, and other apps are notified, 0 returned to the app > -err -> error returned to app > > Is that wrong? It's correct. And I thought the put callbacks in your code always return either 1 or -err? Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel