Laurent Pelecq
c9c80a1b6c
Fix compilation on non-unix platforms
2 years ago
Laurent Pelecq
c67bab22d9
Fix lint warnings in tests
2 years ago
Laurent Pelecq
1139ff7080
Add tcp communication
2 years ago
Laurent Pelecq
14e372e2e8
Move the test server logic outside the unix server implementation
2 years ago
Laurent Pelecq
a827aa06a6
Rename test server to UnixServer
2 years ago
Laurent Pelecq
4619b2c57f
Rename test Server to UnixServer
2 years ago
Laurent Pelecq
7bc9b0ef22
Remove unnecessary clone in tests.
2 years ago
Laurent Pelecq
155a5dc1f1
Add history commands
2 years ago
Laurent Pelecq
c71698bda8
Implement history_get_client_id
2 years ago
Laurent Pelecq
9e4b09d96d
Implement history get client list.
2 years ago
Laurent Pelecq
1a2e7fc145
Change MessageId to u32 instead of String.
2 years ago
Laurent Pelecq
c67a79f3f5
Add history commands and fix types.
...
* Add history commands, not implemented.
* Add types for history commands.
* Fix i8 instead of u8 for rate, pitch and volume.
* Use u16 for length in commands.
2 years ago
Laurent Pelecq
de5ce128cb
Change AsyncClient to QueuedClient to use with different polling mechanism.
...
* When compiled without mio, QueuedClient returns the raw fd.
* When compiled with mio, there is a register method.
2 years ago
Laurent Pelecq
f662405997
Move generic methods send and receive from AsyncClient to Client.
...
* Generic methods can be used in the synchronous API. It gives the choice to use
either specific calls or the generic ones.
* AsyncClient consists in a simple queue of requests.
* Getters only return the generic Response::Get. Callers must convert if it's an
integer.
2 years ago
Laurent Pelecq
ea75e00edc
Add missing tests changes.
2 years ago
Laurent Pelecq
ec1b1aca51
New AsyncClient class.
...
* Only few commands are implemented.
* Example async_mio_loop added.
2 years ago
Laurent Pelecq
5cc696a8b9
Rename FifoBuilder to Builder
...
Builder is not reexported in lib.rs. Module fifo must be imported instead.
2 years ago
Laurent Pelecq
c45bb7daa7
Fix minor clippy warnings
2 years ago
Laurent Pelecq
a186c456db
Dual synchronous and asynchronous API.
...
* Calls have been separate in a "send" and a "receive" to have the same methods in both modes.
* Asynchrone API is enabled with feature "async-mio".
2 years ago
Laurent Pelecq
58b1d5513f
Both sync and async tests pass
2 years ago
Laurent Pelecq
28c3533628
Simplify fifo test by giving the question as a string instead of an array
2 years ago
Laurent Pelecq
aff43c6147
Add error NotReady for asynchronous mode
2 years ago
Laurent Pelecq
4f9f0fe9dc
Change some method names
2 years ago
Laurent Pelecq
73b2531c4f
Dual synchronous and asynchronous API
...
Tests don't work in async mode
2 years ago
Laurent Pelecq
855b0c5af0
add notifications
2 years ago
Laurent Pelecq
590859d15e
upgrade dependencies and fix lint errors
2 years ago
Laurent Pelecq
dcd38f2b9e
Test for synthesis voices. Few other tests.
3 years ago
Laurent Pelecq
7d6d8db931
Test {set, get, list}_voice_types.
3 years ago
Laurent Pelecq
79e7986ba9
Test SSML mode, spelling, capital letter recognition
3 years ago
Laurent Pelecq
837a84950c
More tests get/set language, rate, ...
3 years ago
Laurent Pelecq
ca890b48e4
Using new type ClientName to create client.
3 years ago
Laurent Pelecq
0c7bf4f113
move client tests in integration tests
3 years ago