Ignore:
Timestamp:
Jan 25, 2009, 11:51:57 PM (16 years ago)
Author:
Paul Smedley
Message:

Update ALSA core to 1.0.19 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified GPL/branches/uniaud32-2.0/alsa-kernel/include/sound/control.h

    r398 r410  
    179179struct snd_kcontrol *snd_ctl_make_virtual_master(char *name,
    180180                                                 const unsigned int *tlv);
    181 int snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave);
    182                      
     181int _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
     186static inline int
     187snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave)
     188{
     189        return _snd_ctl_add_slave(master, slave, 0);
     190}
     191
     192static inline int
     193snd_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
    183199#endif  /* __SOUND_CONTROL_H */
Note: See TracChangeset for help on using the changeset viewer.