Skip to content

Mimic context#13

Open
zeehio wants to merge 2 commits into
developmentfrom
feature_mimic_context
Open

Mimic context#13
zeehio wants to merge 2 commits into
developmentfrom
feature_mimic_context

Conversation

@zeehio
Copy link
Copy Markdown
Contributor

@zeehio zeehio commented Nov 1, 2017

This PR moves some global variables (mimic_voice_list, mimic_lang_list, mimic_plugins) into a mimic_context structure. It is hard to know where global variables are being modified, so it is better to avoid them.

It needs to be merged with other pull requests in other repositories, so don't merge it for now. 👍

It replaces the mimic_plugins, mimic_voice_list and mimic_lang_list
global variables, so the mimic library can be used simultaneously
and independently.

Work is still needed to deal with other global variables
@codecov-io
Copy link
Copy Markdown

codecov-io commented Nov 1, 2017

Codecov Report

Merging #13 into development will decrease coverage by 0.74%.
The diff coverage is 0%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development      #13      +/-   ##
===============================================
- Coverage        17.83%   17.08%   -0.75%     
===============================================
  Files               80       80              
  Lines             8875     8936      +61     
===============================================
- Hits              1583     1527      -56     
- Misses            7292     7409     +117
Impacted Files Coverage Δ
unittests/wave_test_main.c 100% <ø> (ø) ⬆️
src/synth/mimic.c 0% <0%> (-3.34%) ⬇️
src/synth/cst_ssml.c 0% <0%> (ø) ⬆️
src/cg/cst_cg_load_voice.c 0% <0%> (ø) ⬆️
src/utils/cst_plugins.c 0% <0%> (-38.21%) ⬇️
src/regex/cst_regex.c 84.48% <0%> (-3.45%) ⬇️
src/audio/au_alsa.c 0% <0%> (-2.78%) ⬇️
src/audio/audio.c 0% <0%> (-2.49%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f02e24...530aa90. Read the comment docs.

@zeehio zeehio mentioned this pull request Nov 1, 2017
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants