From 4590f09d0b44aeb7cef3eed72b419444ea36d8e0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 12 Jan 2005 17:37:31 +0000 Subject: * make pa_sample_spec_snprint return point to written string * first try of a http module git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@339 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/sample.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polyp/sample.h') diff --git a/polyp/sample.h b/polyp/sample.h index d4873eb5..0494c7de 100644 --- a/polyp/sample.h +++ b/polyp/sample.h @@ -93,7 +93,7 @@ const char *pa_sample_format_to_string(enum pa_sample_format f); #define PA_SAMPLE_SPEC_SNPRINT_MAX 32 /** Pretty print a sample type specification to a string */ -void pa_sample_spec_snprint(char *s, size_t l, const struct pa_sample_spec *spec); +char* pa_sample_spec_snprint(char *s, size_t l, const struct pa_sample_spec *spec); /** Volume specification: 0: silence; < 256: diminished volume; 256: normal volume; > 256 amplified volume */ typedef uint32_t pa_volume_t; -- cgit