Changeset 2149:3ccece948dfd in roaraudio for roard/mixer.c
- Timestamp:
- 07/24/09 16:13:21 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/mixer.c
r1496 r2149 236 236 } 237 237 238 int need_vol_change (int channels, struct roar_mixer_settings * set) { 239 int i; 240 241 if ( set == NULL || channels < 1 || channels > ROAR_MAX_CHANNELS ) 242 return -1; 243 244 if ( set->rpg_mul != set->rpg_div ) 245 return 1; 246 247 for (i = 0; i < channels; i++) 248 if ( set->mixer[i] != set->scale ) 249 return 1; 250 251 return 0; 252 } 238 253 239 254 //ll
Note: See TracChangeset
for help on using the changeset viewer.