• Max Kellermann's avatar
    pcm_volume: added constant PCM_VOLUME_1 · edcd45df
    Max Kellermann authored
    It may be desirable to change the range of integer volume levels
    (e.g. to 1024, which may utilize shifts instead of expensive integer
    divisions).  Introduce the constant PCM_VOLUME_1 which describes the
    integer value for "100% volume".  This is currently 1000.
    edcd45df
volume.c 11.7 KB