Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Various fixes for build warnings | Maarten Bosmans | 2011-03-02 | 1 | -1/+1 |
| | |||||
* | volume: Clamp volume to PA_VOLUME_MAX | Arun Raghavan | 2010-10-15 | 1 | -9/+11 |
| | | | | | | This ensures that we always clamp the volume to PA_VOLUME_MAX. While this currently has no effect, it will be required for making sure we don't exceed PA_VOLUME_MAX when its value changes in the future. | ||||
* | volume: Use a macro to check if a volume is valid | Arun Raghavan | 2010-10-15 | 1 | -17/+17 |
| | | | | | | | This adds a PA_VOLUME_IS_VALID() macro for checking if a given pa_volume_t is valid. This makes changes to the volume ranges simpler (just change PA_VOLUME_MAX, for example, without needing to modify any other code). | ||||
* | volume: add pa_cvolume_inc_clamp function | Vladimir Kokarev | 2009-11-05 | 1 | -3/+7 |
| | | | | | | added function to increase volume not exceeding specified limit simply changed PA_VOLUME_MAX to 'limit' in pa_cvolume_inc pa_cvolume_inc now calls pa_cvolume_inc_clamp with PA_VOLUME_MAX limit | ||||
* | llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes | Lennart Poettering | 2009-09-08 | 1 | -4/+4 |
| | |||||
* | volume: if pa_cvolume_set_{balance|fade}() is called with invalid ↵ | Lennart Poettering | 2009-09-07 | 1 | -8/+4 |
| | | | | fade/balance value log, but don't assert | ||||
* | volume: when passing NULL as channel map to pa_cvolume_scale_mask() handle ↵ | Lennart Poettering | 2009-09-07 | 1 | -1/+5 |
| | | | | this the same way as pa_cvolume_scale() | ||||
* | volume: drop some redundant but expensive validity checks | Lennart Poettering | 2009-09-07 | 1 | -7/+1 |
| | |||||
* | volume: add a couple of validity checks for pa_volume_t arguments | Lennart Poettering | 2009-09-07 | 1 | -0/+16 |
| | |||||
* | volume: fix definition of PA_VOLUME_MAX and introduce PA_VOLUME_INVALID and ↵ | Lennart Poettering | 2009-09-07 | 1 | -5/+5 |
| | | | | use it wherever applicable | ||||
* | volume: introduce pa_cvolume_{inc|dec}() | Lennart Poettering | 2009-08-19 | 1 | -0/+34 |
| | |||||
* | volume: use PA_VOLUME_MAX instead of (pa_volume_t) -1 | Lennart Poettering | 2009-08-19 | 1 | -4/+4 |
| | |||||
* | volume: round properly when showing human readable volume percentages | Lennart Poettering | 2009-08-19 | 1 | -2/+2 |
| | |||||
* | volume: simplify volume multiplifactions, do them in integer only | Lennart Poettering | 2009-08-19 | 1 | -4/+6 |
| | |||||
* | volume: introduce pa_cvolume_min() and pa_cvolume_min_mask() | Lennart Poettering | 2009-08-19 | 1 | -2/+39 |
| | |||||
* | libpulse: some minor optimizations when checking equality | Lennart Poettering | 2009-08-17 | 1 | -0/+4 |
| | |||||
* | volume: add pa_cvolume_merge() call | Lennart Poettering | 2009-08-17 | 1 | -0/+18 |
| | |||||
* | volume: guarantee dB/linear conversion is reversible | Lennart Poettering | 2009-08-14 | 1 | -1/+4 |
| | |||||
* | volume,channelmap: reimplement a couple of calls based on channel masks | Lennart Poettering | 2009-06-17 | 1 | -44/+8 |
| | |||||
* | volume: implement functions for multiplicating a cvolume with a scalar | Lennart Poettering | 2009-06-17 | 1 | -2/+34 |
| | |||||
* | volume: implement pa_cvolume_{scale|max|avg}_mask() | Lennart Poettering | 2009-05-25 | 1 | -10/+77 |
| | |||||
* | volume: change pa_volume_t mapping to cubic | Lennart Poettering | 2009-05-22 | 1 | -12/+30 |
| | |||||
* | volume: introduce pa_cvolume_{get|set}_position() | Lennart Poettering | 2009-05-13 | 1 | -0/+46 |
| | |||||
* | volume: increase dB range to -90dB | Lennart Poettering | 2009-04-13 | 1 | -1/+1 |
| | | | | | | | Increasing the volume range to -90dB has the benefit of corresponding with a volume decrease from the full 16 bit signal to 0. This also makes us a bit more like traditional stereos | ||||
* | when calculating volume from dB use ceil() | Lennart Poettering | 2009-04-08 | 1 | -2/+2 |
| | |||||
* | compare with doubles, not integer | Lennart Poettering | 2009-04-07 | 1 | -2/+2 |
| | |||||
* | Use LGPL 2.1 on all files previously using LGPL 2 | Colin Guthrie | 2009-03-03 | 1 | -1/+1 |
| | |||||
* | add a lot of validity checking | Lennart Poettering | 2009-02-03 | 1 | -16/+43 |
| | |||||
* | add new API pa_cvolume_compatible_with_channel_map() | Lennart Poettering | 2009-02-03 | 1 | -0/+13 |
| | |||||
* | before applying balance/fade check it actually makes sense | Lennart Poettering | 2009-02-03 | 1 | -0/+12 |
| | |||||
* | whitespace cleanup | Lennart Poettering | 2009-02-02 | 1 | -0/+3 |
| | |||||
* | implement pa_cvolume_{get|set}_fade | Lennart Poettering | 2009-01-30 | 1 | -0/+111 |
| | |||||
* | fix a bogus assert | Lennart Poettering | 2009-01-30 | 1 | -1/+1 |
| | |||||
* | properly deal with the case when l/r is silent when adjust balance | Lennart Poettering | 2009-01-30 | 1 | -2/+2 |
| | |||||
* | add missing 'const' | Lennart Poettering | 2009-01-27 | 1 | -1/+1 |
| | |||||
* | swap argument order of pa_cvolume_get_balance() to be a bit more systematic | Lennart Poettering | 2009-01-27 | 1 | -2/+2 |
| | |||||
* | implement pa_cvolume_scale() | Lennart Poettering | 2009-01-27 | 1 | -0/+19 |
| | |||||
* | don't divide by zero if no left resp. no right channels are defined | Lennart Poettering | 2009-01-20 | 1 | -2/+9 |
| | |||||
* | Beef pactl output up a bit | Lennart Poettering | 2009-01-19 | 1 | -1/+1 |
| | |||||
* | add api for manipulating volume balances | Lennart Poettering | 2009-01-19 | 1 | -0/+91 |
| | |||||
* | Add new API functions pa_volume_snprint() and pa_sw_volume_snprint_dB() | Lennart Poettering | 2008-12-24 | 1 | -3/+40 |
| | |||||
* | implement pa_sw_volume_divide() and pa_sw_cvolume_divide() | Lennart Poettering | 2008-10-04 | 1 | -5/+25 |
| | |||||
* | rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is | Lennart Poettering | 2008-10-03 | 1 | -1/+1 |
| | | | | useful only for software volumes | ||||
* | when checking the validity of a cvolume check whether all values are not -1 | Lennart Poettering | 2008-10-03 | 1 | -0/+6 |
| | |||||
* | add new API call pa_cvolume_compatible() | Lennart Poettering | 2008-10-03 | 1 | -0/+14 |
| | |||||
* | add new API call pa_cvolume_snprint_dB() | Lennart Poettering | 2008-10-03 | 1 | -2/+33 |
| | |||||
* | add new API call pa_cvolume_init() | Lennart Poettering | 2008-10-03 | 1 | -1/+14 |
| | |||||
* | if a volume or channel map is invalid show so when printing it | Lennart Poettering | 2008-10-03 | 1 | -0/+8 |
| | |||||
* | user lrint() and friends in inner loops instead of normal C casts to speed ↵ | Lennart Poettering | 2008-10-03 | 1 | -1/+1 |
| | | | | up a few things | ||||
* | fix a few compiler warnings on older gcc | Lennart Poettering | 2008-08-29 | 1 | -1/+1 |
| |