mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
sample: Use PA_SAMPLE_INVALID instead of numeric value
This commit is contained in:
parent
f4d1f2bdcf
commit
802c8b6fcc
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue