rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is

useful only for software volumes
This commit is contained in:
Lennart Poettering 2008-10-03 22:21:27 +02:00
parent c0815deb4a
commit 7a1a147881
4 changed files with 6 additions and 6 deletions

View file

@ -145,10 +145,10 @@ char *pa_cvolume_snprint(char *s, size_t l, const pa_cvolume *c);
* any release without warning and without being considered API or ABI
* breakage. You should not use this definition anywhere where it
* might become part of an ABI. \since 0.9.13 */
#define PA_CVOLUME_SNPRINT_DB_MAX 448
#define PA_SW_CVOLUME_SNPRINT_DB_MAX 448
/** Pretty print a volume structure but show dB values. \since 0.9.13 */
char *pa_cvolume_snprint_dB(char *s, size_t l, const pa_cvolume *c);
char *pa_sw_cvolume_snprint_dB(char *s, size_t l, const pa_cvolume *c);
/** Return the average volume of all channels */
pa_volume_t pa_cvolume_avg(const pa_cvolume *a) PA_GCC_PURE;