Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset be51d73 in mainline


Ignore:
Timestamp:
2011-11-25T22:33:03Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
deff6b4
Parents:
9d1488d
Message:

sb16: Implement volume set iface function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/mixer_iface.c

    r9d1488d rbe51d73  
    8787    unsigned volume)
    8888{
    89         return ENOTSUP;
     89        assert(fun);
     90        assert(fun->driver_data);
     91        const sb_mixer_t *mixer = fun->driver_data;
     92        return sb_mixer_set_volume_level(mixer, item, channel, volume);
    9093}
    9194/*----------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.