Commit Graph
22 Commits
Author SHA1 Message Date
Reece H. Dunn 2e88afeaa0 Move the clock_gettime2 and add_time_in_ms implementation to event.c to avoid code duplication. 2015-12-31 16:51:46 +00:00
Reece H. Dunn 56bfebe2fd Only include the null wave* implementation in wave.c. 2015-12-31 16:46:53 +00:00
Reece H. Dunn d7801617f7 Always enable the wave* code irrespective of whether USE_ASYNC is defined. 2015-12-31 16:44:27 +00:00
Reece H. Dunn 856a4d4bea wave_pulse: make use of the device parameter to wave_open 2015-12-31 15:34:41 +00:00
Reece H. Dunn 104a9de6da Expose a device name parameter to wave_open. 2015-12-31 15:25:17 +00:00
Reece H. Dunn 843f4d0dd4 Combine wave_init and wave_open. 2015-12-31 13:47:48 +00:00
Reece H. Dunn 80914cc40e Fix clang -Wunused-macros warnings. 2015-12-30 16:13:29 +00:00
Reece H. Dunn b11d540718 Fix GCC -Wunused-parameter warnings. 2015-12-30 15:01:31 +00:00
Reece H. Dunn 75758a9712 Fix GCC -Wunused-but-set-variable warnings. 2015-12-29 22:23:41 +00:00
Reece H. Dunn e69c936329 Remove the debugging code.
The debugging code is done inconsistently, mainly to trace the
event and audio output logic. This makes it harder to understand
the code flow for logic that is not enabled by default.

As such the debugging code makes the code harder to maintain.
2015-12-28 12:33:14 +00:00
Reece H. Dunn 3e99752d0c Check and fix source code formatting. 2015-12-27 22:34:53 +00:00
Reece H. Dunn f0c2c4cca2 Remove extra newlines from the files to provide consistent spacing. 2015-12-23 11:32:03 +00:00
Reece H. Dunn d345d74f64 Remove braces around single-line if/while/for/etc. and related cleanup. 2015-12-22 20:40:10 +00:00
Reece H. Dunn 9a837c8182 Remove parentheses around return statements. 2015-12-22 16:24:01 +00:00
Reece H. Dunn 12e0bb122b Reformat the code using the uncrustify program. 2015-12-22 15:06:50 +00:00
Reece H. Dunn 66c2831bed Use intptr_t from stdint.h instead of a custom long64 typedef. 2015-12-18 21:41:28 +00:00
Reece H. Dunn c71b24a9a5 Use a consistent license notice in the source files. 2015-12-18 07:06:29 +00:00
Reece H. Dunn cbe8695fcb Remove the * box around the file headers. 2015-12-17 23:45:36 +00:00
Reece H. Dunn 36be9ac13f Use the default uncrustify config (with indentation changes) to reformat the code. 2015-12-17 07:40:24 +00:00
Reece H. Dunn 5e0050419d Remove comments that deliniate the start and end of functions, etc.. 2015-12-15 22:26:02 +00:00
Reece H. Dunn 08821f262f Remove commented out code. 2015-12-14 23:13:56 +00:00
Reece H. Dunn f7dfc38dd7 Use the C compiler to build C files; restructuring.
This moves the libespeak source (*.cpp) files to src/libespeak-ng
and renames the C files (libespeak, espeak, speak) so they have
a .c file extension.
2015-12-09 23:33:00 +00:00