- Timestamp:
- Jan 25, 2009, 11:51:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/control.h ¶
r398 r410 179 179 struct snd_kcontrol *snd_ctl_make_virtual_master(char *name, 180 180 const unsigned int *tlv); 181 int snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave); 182 181 int _snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave, 182 unsigned int flags); 183 /* optional flags for slave */ 184 #define SND_CTL_SLAVE_NEED_UPDATE (1 << 0) 185 186 static inline int 187 snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave) 188 { 189 return _snd_ctl_add_slave(master, slave, 0); 190 } 191 192 static inline int 193 snd_ctl_add_slave_uncached(struct snd_kcontrol *master, 194 struct snd_kcontrol *slave) 195 { 196 return _snd_ctl_add_slave(master, slave, SND_CTL_SLAVE_NEED_UPDATE); 197 } 198 183 199 #endif /* __SOUND_CONTROL_H */
Note:
See TracChangeset
for help on using the changeset viewer.