modules: No point in supporting anything older than PulseAudio 10.
This commit is contained in:
parent
ea451e9879
commit
9d5daf5f87
3 changed files with 0 additions and 13 deletions
|
|
@ -398,11 +398,7 @@ static void thread_func(void *userdata) {
|
|||
pa_rtpoll_set_timer_disabled(u->rtpoll);
|
||||
|
||||
/* Sleep */
|
||||
#if (PULSEAUDIO_VERSION == 5)
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll, true)) < 0)
|
||||
#elif (PULSEAUDIO_VERSION >= 6)
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll)) < 0)
|
||||
#endif
|
||||
goto fail;
|
||||
|
||||
if (ret == 0)
|
||||
|
|
|
|||
|
|
@ -228,11 +228,7 @@ static void thread_func(void *userdata) {
|
|||
pa_rtpoll_set_timer_disabled(u->rtpoll);
|
||||
|
||||
/* Sleep */
|
||||
#if (PULSEAUDIO_VERSION == 5)
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll, true)) < 0)
|
||||
#elif (PULSEAUDIO_VERSION >= 6)
|
||||
if ((ret = pa_rtpoll_run(u->rtpoll)) < 0)
|
||||
#endif
|
||||
goto fail;
|
||||
|
||||
if (ret == 0)
|
||||
|
|
|
|||
|
|
@ -841,14 +841,9 @@ int pa__init(pa_module *m) {
|
|||
u->modargs = ma;
|
||||
u->module = m;
|
||||
|
||||
#if (PULSEAUDIO_VERSION >= 10)
|
||||
pa_card_choose_initial_profile(u->card);
|
||||
#endif
|
||||
init_profile(u);
|
||||
|
||||
#if (PULSEAUDIO_VERSION >= 10)
|
||||
pa_card_put(u->card);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue