Merge pull request #114 from jusa/cal_wait
Enable audio_cal_wait properly.
This commit is contained in:
commit
04b14b8aac
1 changed files with 3 additions and 2 deletions
|
|
@ -1515,8 +1515,7 @@ pa_droid_stream *pa_droid_open_output_stream(pa_droid_hw_module *module,
|
||||||
mix_port->flags,
|
mix_port->flags,
|
||||||
&config_out,
|
&config_out,
|
||||||
&output->stream,
|
&output->stream,
|
||||||
device_port->address
|
device_port->address);
|
||||||
);
|
|
||||||
pa_droid_hw_module_unlock(module);
|
pa_droid_hw_module_unlock(module);
|
||||||
|
|
||||||
if (ret < 0 || !output->stream) {
|
if (ret < 0 || !output->stream) {
|
||||||
|
|
@ -1524,6 +1523,8 @@ pa_droid_stream *pa_droid_open_output_stream(pa_droid_hw_module *module,
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
option_audio_cal(module, mix_port->flags);
|
||||||
|
|
||||||
output->sample_spec = *spec;
|
output->sample_spec = *spec;
|
||||||
output->channel_map = *map;
|
output->channel_map = *map;
|
||||||
stream->active_device_port = NULL;
|
stream->active_device_port = NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue