projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4d1f2b
)
sample: Use PA_SAMPLE_INVALID instead of numeric value
author
Arun Raghavan
<arun.raghavan@collabora.co.uk>
Thu, 24 Feb 2011 09:16:01 +0000
(14:46 +0530)
committer
Arun Raghavan
<arun.raghavan@collabora.co.uk>
Mon, 2 May 2011 04:47:20 +0000
(10:17 +0530)
src/pulse/sample.c
patch
|
blob
|
history
diff --git
a/src/pulse/sample.c
b/src/pulse/sample.c
index
9698d8a
..
50d5521
100644
(file)
--- 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) {