Changeset 1711:821402880d74 in roaraudio for libroarsndio/volume.c


Ignore:
Timestamp:
05/14/09 16:34:57 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

moved sio_onvol() from libroarsndio.c to volume.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarsndio/volume.c

    r1579 r1711  
    6060} 
    6161 
     62void   sio_onvol  (struct sio_hdl * hdl, void (*cb)(void * arg, unsigned vol), void * arg) { 
     63 if ( hdl == NULL ) 
     64  return; 
     65 
     66 hdl->on_vol     = cb; 
     67 hdl->on_vol_arg = arg; 
     68} 
     69 
    6270//ll 
Note: See TracChangeset for help on using the changeset viewer.