Erik Faye-Lund
|
c600e2abbe
|
player: wrap up send and recv
This leads to much simpler error checking.
Add casts so the inlined code can be called from the editor's
C++ code.
|
2010-08-25 23:38:24 +02:00 |
|
Erik Faye-Lund
|
078e344b24
|
player: require explicit connection-call
This makes it possible to change the host and port used
for connections between player and editor without
recompiling the library.
|
2010-08-25 23:21:51 +02:00 |
|
Erik Faye-Lund
|
bd9408fa85
|
player: make sync_update report error
|
2010-08-25 22:59:35 +02:00 |
|
Erik Faye-Lund
|
5c359b035d
|
player: completely remove sync_update when not needed
|
2010-08-25 22:59:35 +02:00 |
|
Erik Faye-Lund
|
2a44eff473
|
player: pass row as integer to sync_update
There's no point in passing the row as a double to sync_update, which
only cares about the integer-part.
|
2010-08-25 22:59:34 +02:00 |
|
Erik Faye-Lund
|
12595c74f5
|
player: return const-pointer from sync_get_track()
There's no uses of sync_get_track() that can't do without a pointer to
a const object any more. Making sync_track const helps us 64k-proof
the code.
|
2010-07-06 21:09:37 +02:00 |
|
Erik Faye-Lund
|
7934871684
|
client: make sync_track_path static
|
2010-03-24 17:58:20 +01:00 |
|
Erik Faye-Lund
|
88e9a4bf48
|
client: do not purge data when reconnetion failed
|
2010-03-20 16:18:21 +01:00 |
|
Erik Faye-Lund
|
0a362b42a4
|
client: allow reconnection to gather all data
A stray semicolon blocked purge_and_rerequest() to always
terminate after the first track, and report failure.
|
2010-03-20 16:15:12 +01:00 |
|
Erik Faye-Lund
|
fc9e038f3f
|
client: unbreak SET_KEY and DELETE_KEY
In 70bcea3, I introduced incorrect handling of SET_KEY
and DELETE_KEY, leading to error on each connection.
Fix this by negating the condition.
|
2010-03-20 15:59:24 +01:00 |
|
Erik Faye-Lund
|
874c5b8ede
|
rename LICENSE.TXT to COPYING
|
2010-03-19 17:41:37 +01:00 |
|
Erik Faye-Lund
|
6761a167e8
|
free device structure
|
2010-03-19 17:41:36 +01:00 |
|
Erik Faye-Lund
|
14244a2d0d
|
add sync_destroy_device()
|
2010-03-19 17:41:36 +01:00 |
|
Erik Faye-Lund
|
70bcea33ab
|
clean up network code
|
2010-03-19 17:41:35 +01:00 |
|
Erik Faye-Lund
|
8c9f5db445
|
reconnect on disconnection
|
2010-03-19 17:41:35 +01:00 |
|
Erik Faye-Lund
|
decf843c04
|
player/client: port to C
Make sure that all code included in the player and client is
pure C. This helps on portability.
|
2010-03-19 17:41:34 +01:00 |
|