Re: [RFC 4/7] snd-aoa: add codecs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Tue, 30 May 2006 15:39:09 +0200,
Johannes Berg wrote:
> 
> On Tue, 2006-05-30 at 15:35 +0200, Takashi Iwai wrote:
> 
> > And I thought the put callbacks in your code always return either 1 or
> > -err?
> 
> Yeah, they return 1 if the change was applied (or no change) and -err if
> there's an error about the change (only in very few cases).
> 
> I figured the extra notification wouldn't hurt, and to the application
> there wouldn't be a problem.

Actually the extra notification won't hurt much in practice.
I've seen that some drivers also don't check the unchanged case and
return always 1, so apparently the apps work.  But, it's of course
better to check the state on the driver side.


Takashi


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux