Changeset e941bf8 in mainline for uspace/drv/audio/sb16/mixer.c
- Timestamp:
- 2012-07-05T21:01:11Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4bbfb93
- Parents:
- 124f9bd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/mixer.c
r124f9bd re941bf8 140 140 sizeof(volume_ct1745) / sizeof(volume_item_t), volume_ct1745 }, 141 141 }; 142 /*----------------------------------------------------------------------------*/ 142 143 143 const char * sb_mixer_type_str(sb_mixer_type_t type) 144 144 { … … 151 151 return names[type]; 152 152 } 153 /*----------------------------------------------------------------------------*/ 153 154 154 int sb_mixer_init(sb_mixer_t *mixer, sb16_regs_t *regs, sb_mixer_type_t type) 155 155 { … … 171 171 return EOK; 172 172 } 173 /*----------------------------------------------------------------------------*/ 173 174 174 int sb_mixer_get_control_item_count(const sb_mixer_t *mixer) 175 175 { … … 177 177 return volume_table[mixer->type].count; 178 178 } 179 /*----------------------------------------------------------------------------*/ 179 180 180 int sb_mixer_get_control_item_info(const sb_mixer_t *mixer, unsigned index, 181 181 const char** name, unsigned *channels) … … 192 192 return EOK; 193 193 } 194 /*----------------------------------------------------------------------------*/ 194 195 195 int sb_mixer_get_channel_info(const sb_mixer_t *mixer, unsigned index, 196 196 unsigned channel, const char **name, unsigned *levels) … … 211 211 return EOK; 212 212 } 213 /*----------------------------------------------------------------------------*/ 213 214 214 int sb_mixer_set_volume_level(const sb_mixer_t *mixer, 215 215 unsigned index, unsigned channel, unsigned level) … … 243 243 return EOK; 244 244 } 245 /*----------------------------------------------------------------------------*/ 245 246 246 unsigned sb_mixer_get_volume_level(const sb_mixer_t *mixer, unsigned index, 247 247 unsigned channel)
Note:
See TracChangeset
for help on using the changeset viewer.