From: Arun Raghavan Date: Thu, 24 Feb 2011 09:16:01 +0000 (+0530) Subject: sample: Use PA_SAMPLE_INVALID instead of numeric value X-Git-Tag: 1.0_branch~586^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=802c8b6fcc9349505d00c1f6f6132dd513904b68;p=profile%2Fivi%2Fpulseaudio.git sample: Use PA_SAMPLE_INVALID instead of numeric value --- diff --git a/src/pulse/sample.c b/src/pulse/sample.c index 9698d8a..50d5521 100644 --- a/src/pulse/sample.c +++ b/src/pulse/sample.c @@ -242,7 +242,7 @@ pa_sample_format_t pa_parse_sample_format(const char *format) { else if (strcasecmp(format, "s24-32re") == 0) return PA_SAMPLE_S24_32RE; - return -1; + return PA_SAMPLE_INVALID; } int pa_sample_format_is_le(pa_sample_format_t f) {