46589 Commits

Author SHA1 Message Date
Kovid Goyal
479f9fe9ee
Update LiveMint 2023-01-30 14:13:31 +05:30
Kovid Goyal
8939c81399
Implement audio device control 2023-01-29 19:33:25 +05:30
Kovid Goyal
20de91c75e
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #2004083 [wireless device connection waiting time is too short](https://bugs.launchpad.net/calibre/+bug/2004083)
2023-01-29 15:24:36 +05:30
Kovid Goyal
ad9cf1b0f6
Code to set the voice and audio device 2023-01-29 15:23:23 +05:30
Charles Haley
28b49c7e3e Enhancement #2004083: wireless device connection waiting time is too short
Removed the timer.
2023-01-29 09:47:36 +00:00
Kovid Goyal
e8f07e273b
Revoke on exit 2023-01-29 15:15:25 +05:30
Kovid Goyal
20d3b0798d
Remove redundant includes 2023-01-29 15:04:05 +05:30
Kovid Goyal
cf0cc595b6
Refactor speech code to make it simpler and hopefully more robust
Also get rid of the catch macro
2023-01-29 14:58:54 +05:30
Kovid Goyal
356091be76
Use a handler dict to dispatch commands 2023-01-29 12:56:53 +05:30
Kovid Goyal
5eb1e106a8
Command to output all audio devices 2023-01-29 12:05:05 +05:30
Kovid Goyal
e006a23b70
Controls for playback state 2023-01-29 10:40:22 +05:30
Kovid Goyal
356af928ac
Implement control for pitch 2023-01-28 14:07:46 +05:30
Kovid Goyal
9dd2b16fe9
Use std::array instead of C array 2023-01-28 13:52:15 +05:30
Kovid Goyal
32155c172c
Allow interleaved waits in develop_loop 2023-01-28 13:39:08 +05:30
Kovid Goyal
46731246c6
... 2023-01-28 13:33:53 +05:30
Kovid Goyal
dd13c03bfc
No need to store outfile just open it when needed 2023-01-28 13:31:36 +05:30
Kovid Goyal
8b31293600
... 2023-01-28 13:22:54 +05:30
Kovid Goyal
ae3c33ec8c
Implement rate control 2023-01-28 13:01:21 +05:30
Kovid Goyal
96de7a653d
Set volume on synthesizer rather than player so it works for save as well 2023-01-28 12:44:42 +05:30
Kovid Goyal
6e9c4e0bb9
Saving to WAV kinda works though audio is very distorted 2023-01-28 12:38:43 +05:30
Kovid Goyal
467af44edb
Niceties for getting the last error on windows 2023-01-28 12:21:34 +05:30
Kovid Goyal
795c4c6061
Work on saving speech to WAV 2023-01-27 22:16:01 +05:30
Kovid Goyal
f0ee3506d7
Keep all the speak related functions together in a block 2023-01-27 21:21:04 +05:30
Kovid Goyal
88e2331f63
Hack to get mark reporting working
Since Microsoft dont seem to have implemented support for SSML bookmarks
or at least I cant get it to work, use the word cue events. When it
fires report any surpassed or closeby mark.
2023-01-27 21:06:20 +05:30
Kovid Goyal
d2983fef22
Merge branch 'master' of https://github.com/cbhaley/calibre 2023-01-27 19:47:33 +05:30
Charles Haley
8fa523dd70 Two minor improvements:
1) Clear the temporary VL if the search box is empty instead of giving an error.
2) Escape regexp special characters in tag browser first letter searches. Use super-quoting to make escaping work reliably.
2023-01-27 13:03:03 +00:00
Kovid Goyal
ce78a29fc8
Outsmart clang
clang insists INVALID_HANDLE_VALUE is not a constexpr because it is defined as (void*)-1

So it wont let us use it a template paramter. Make the template paramter
a function instead that returns the constant value. Hopefully compilers
are smart enough to just inline the function call so there is no
performance impact. Dont have the patience to check the assembly to make
sure.
2023-01-27 18:11:26 +05:30
Kovid Goyal
ccd5fd83f4
Fix warning from clang 2023-01-27 18:00:05 +05:30
Kovid Goyal
55ebdf049f
Silence various warnings from clang 2023-01-27 17:49:10 +05:30
Kovid Goyal
fb95b532bd
Make MSVC happy 2023-01-27 17:44:58 +05:30
Kovid Goyal
31fe61569f
... 2023-01-27 17:30:45 +05:30
Kovid Goyal
d4a8629db8
... 2023-01-27 16:00:11 +05:30
Kovid Goyal
9b4f63c100
Cleanup some warnings from clang 2023-01-27 15:59:12 +05:30
Kovid Goyal
e2a8bab98a
Narrow the scope of ignoring the warning 2023-01-27 15:50:35 +05:30
Kovid Goyal
2b87fa400a
Cleanup wchar_raii constructors 2023-01-27 15:49:48 +05:30
Kovid Goyal
22cea8d90a
MSVC does not like std:c++11 2023-01-27 15:36:49 +05:30
Kovid Goyal
0a95d52f9e
Fix MSVC compile error 2023-01-27 15:36:32 +05:30
Kovid Goyal
649baf052f
Nicer error formatting when cross compiling 2023-01-27 15:20:02 +05:30
Kovid Goyal
039b684269
Sadly the linux build VMs dont support c++20 so we cant use lambdas as template arguments 2023-01-27 15:14:01 +05:30
Kovid Goyal
17450ddc1c
Silence spurious warning from gcc 2023-01-27 14:44:23 +05:30
Kovid Goyal
65885f505e
Use lambdas for template specialization 2023-01-27 13:54:03 +05:30
Kovid Goyal
e145f42fdc
Fix generation of compile_commands.json for windows specific extensions 2023-01-27 13:25:08 +05:30
Kovid Goyal
39f5192c99
Use cross compilation for extdev 2023-01-27 13:05:34 +05:30
Kovid Goyal
ef9e669ef9
Cross compiling now actually works
At least for non-PyQt based extensions
2023-01-27 12:47:46 +05:30
Kovid Goyal
d13404d9ea
Refactor the build system to allow cross compiling windows native code extensions on linux 2023-01-27 12:03:37 +05:30
Kovid Goyal
d6a0f4bb9d
Clean up C/C++ std specifications 2023-01-26 21:06:39 +05:30
Kovid Goyal
58c9ca9519
... 2023-01-26 20:49:13 +05:30
Kovid Goyal
bf6db247a2
Command to automatically install the Windows SDK 2023-01-26 20:33:49 +05:30
Kovid Goyal
c895aab7ac
More fixes for compilation with clang-cl 2023-01-26 19:45:39 +05:30
Kovid Goyal
69656be428
clang cant compile the handle_raii class because it thinks INVALID_HANDLE_VALUE is not a constexpr
Make a standalone class for it instead of inheriting generic_raii
2023-01-26 19:27:36 +05:30