Changeset 2432:d84ffcebf730 in roaraudio for include/libroardsp


Ignore:
Timestamp:
08/19/09 15:35:53 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support to set volume

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroardsp/synth.h

    r2431 r2432  
    5454 ROAR_SYNTH_FUNC_TYPE(func); 
    5555 size_t pcmoffset; 
     56 float volume; 
    5657}; 
    5758 
     
    5960int roar_synth_set_offset(struct roar_synth_state * state, size_t offset); 
    6061int roar_synth_set_func  (struct roar_synth_state * state, ROAR_SYNTH_FUNC_TYPE(func)); 
     62int roar_synth_set_volume(struct roar_synth_state * state, float volume); 
    6163 
    6264int roar_synth_pcmout_i16n(struct roar_synth_state * state, int16_t * out, size_t frames, int channels); 
Note: See TracChangeset for help on using the changeset viewer.