mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
only list supported resampling methods when --dump-resample-methods is executed
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1758 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
c9a0df3617
commit
104feb0aac
1 changed files with 3 additions and 3 deletions
|
|
@ -365,8 +365,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
LTDL_SET_PRELOADED_SYMBOLS();
|
||||
|
||||
r = lt_dlinit();
|
||||
assert(r == 0);
|
||||
pa_assert_se(lt_dlinit() == 0);
|
||||
|
||||
#ifdef OS_IS_WIN32
|
||||
{
|
||||
|
|
@ -424,7 +423,8 @@ int main(int argc, char *argv[]) {
|
|||
int i;
|
||||
|
||||
for (i = 0; i < PA_RESAMPLER_MAX; i++)
|
||||
printf("%s\n", pa_resample_method_to_string(i));
|
||||
if (pa_resample_method_supported(i))
|
||||
printf("%s\n", pa_resample_method_to_string(i));
|
||||
|
||||
goto finish;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue