mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
alsa: when probing for profiles configure buffer/period sizes since some broken drivers apparently need that
This commit is contained in:
parent
84ade2140e
commit
8364b959b4
3 changed files with 22 additions and 5 deletions
|
|
@ -329,7 +329,7 @@ int pa__init(pa_module *m) {
|
|||
if (!u->profile_set)
|
||||
goto fail;
|
||||
|
||||
pa_alsa_profile_set_probe(u->profile_set, u->device_id, &m->core->default_sample_spec);
|
||||
pa_alsa_profile_set_probe(u->profile_set, u->device_id, &m->core->default_sample_spec, m->core->default_n_fragments, m->core->default_fragment_size_msec);
|
||||
|
||||
pa_card_new_data_init(&data);
|
||||
data.driver = __FILE__;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue