10 Nov, 2011
1 commit
-
When freeing the vmaster master element, we should release slave-links
properly, not only assumig that slaves will be freed soon later.Signed-off-by: Takashi Iwai
01 Nov, 2011
1 commit
-
These aren't modules, but they do make use of these macros, so
they will need export.h to get that definition. Previously,
they got it via the implicit module.h inclusion.Signed-off-by: Paul Gortmaker
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
15 Feb, 2011
1 commit
-
Change the core code where sparse complains. In most cases, this means
just adding annotations to confirm that we indeed want to do the dirty
things we're doing.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
17 Jun, 2009
1 commit
-
Add new types for TLV dB scale specified with min/max values instead
of min/step since the resolution can't match always with the one
a device provides. For example, usb audio devices give 1/256 dB
resolution while ALSA TLV is based on 1/100 dB resolution.
The new min/max types have less problems because the possible
rounding error happens only at min/max.Signed-off-by: Takashi Iwai
09 Mar, 2009
2 commits
-
Signed-off-by: Takashi Iwai
-
Added snd_ctl_add_slave_uncached() function to add a slave element
with volatile controls. The values of normal slave elements are
supposed to be cachable, i.e. they are changed only via the put
callbacks. OTOH, when a slave element is volatile and its values may
be changed by other reason (e.g. hardware status change), the values
will get inconsistent.The new function allows the slave elements with volatile changes.
When the slave is tied with this call, the native get callback is
issued at each time so that the values are always updated.Signed-off-by: Takashi Iwai
24 Apr, 2008
2 commits
-
Use a private array for TLV entries of virtual master controls instead
of (supposed) static array. This cleans up the existing codes.Also, now vmaster assumes the simple dB-range TLV that is the only type
it can handle.Signed-off-by: Takashi Iwai
-
Move the codes for virtual master controls to sound core part so that
not only hda-intel drivers can use it.Signed-off-by: Takashi Iwai