Thread (22 messages) 22 messages, 2 authors, 2006-05-30

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

From: Takashi Iwai <hidden>
Date: 2006-05-30 13:48:21
Also in: alsa-devel

At Tue, 30 May 2006 15:39:09 +0200,
Johannes Berg wrote:
On Tue, 2006-05-30 at 15:35 +0200, Takashi Iwai wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help