Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-08 | Style fix | sin | |
Similar style as for detecting broken file transfers. | |||
2014-10-08 | Don't close a random fd | sin | |
if (f->rxstate == TRANSFER_INPROGRESS && (fd = openat(f->dirfd, ffiles[FFILE_OUT].name, ffiles[FFILE_OUT].flags, 0666)) == -1 && errno == ENXIO) { ... } else { close(fd); <--- not always appropriate! } | |||
2014-10-08 | Do a toxav_hangup() like we do elsewhere | sin | |
This will trigger the callback and reset toxav internal states accordingly. In the callback we actually call cancelcall(). | |||
2014-10-08 | Fix file-transfers | sin | |
2014-10-08 | Check outfiles if they are still open | FRIGN | |
If not, abort receiving. | |||
2014-10-08 | Check if the call id is valid before cancelling it | sin | |
2014-10-08 | Fix build on kfreebsd | Kill Your TV | |
2014-10-08 | Rework state management for audio calls | sin | |
No need to try to keep local state, just use toxav_get_call_state(). We now can auto-accept calls by pre-attaching on the call_out FIFO. | |||
2014-10-08 | A bit more consistent output message | sin | |
2014-10-08 | Implement peer timeout | sin | |
2014-10-08 | Release call resources with toxav_kill_transmission() | sin | |
Reject calls on both sides to reset states. This still needs to be tested to see if there's any effect of doing that. | |||
2014-10-08 | Remove debug printf() | sin | |
2014-10-07 | Simplify user state tracking | sin | |
2014-10-07 | Refactor user-state-logic | FRIGN | |
2014-10-07 | Rename ustatus to ustate | sin | |
2014-10-07 | Correctly inform external scripts of an invalid user state | sin | |
2014-10-07 | Add support for changing the user state and reporting friend's user state | sin | |
2014-10-07 | Allocate enough memory to allow copying all the friends | sin | |
2014-10-07 | Send the actual message when initiating the friend request | sin | |
2014-10-07 | Fix possible stack corruption when parsing friend IDs | sin | |
2014-10-07 | Reset fd offset when writing out | sin | |
2014-10-06 | Nuke leading space | sin | |
2014-10-06 | Reset state after hangup | sin | |
2014-10-06 | Re-order function decls | sin | |
2014-10-06 | Allow to attach aplay after we've initiated a call | sin | |
2014-10-05 | Factor out check for NULL frame | sin | |
2014-10-05 | Allow simultaneous tx/rx call | sin | |
2014-10-05 | Clean up calls on shutdown | sin | |
2014-10-05 | Properly hang up initiating calls | sin | |
2014-10-05 | Fix timing issue | FRIGN | |
I don't know why I missed that 1) of course we have to check tv_sec, not tv_nsec 2) when we do a nanosleep, but use the "now"-val for the lastsent- time, we obviously keep the wrong time. This leads to the program thinking more time elapsed than really has, leading to less nanosleep and thus higher playback-speed. Now this is fixed, and apart from state-transition issues, call-receiving now works perfectly. ;) | |||
2014-10-05 | Fix units (us -> ms) | FRIGN | |
Got off a factor of a thousand, this would've never worked. Now it should handle the calls properly. | |||
2014-10-05 | Style fix | sin | |
2014-10-05 | Add sample-timer for calls | FRIGN | |
2014-10-04 | Minor stylistic changes | sin | |
2014-10-04 | Add initial outgoing call-support | FRIGN | |
This works, but the audio is a bit muffled up, which takes some fine-tuning. Also, not all state-transitions are yet taken into account. | |||
2014-10-03 | Default to 0666 perms | sin | |
2014-10-03 | Clarify semantics | sin | |
2014-10-03 | Put configurable stuff in config.def.h | sin | |
2014-10-03 | Up max number of calls | sin | |
2014-10-03 | Fix broken build | sin | |
2014-10-03 | Refactor code and prepare multiple calls | FRIGN | |
2014-10-03 | Simplify cbcallstarted() | sin | |
2014-10-03 | Implement cbcallending() to properly reset state when we cancel the call | sin | |
2014-10-03 | Hangup the call on EPIPE | sin | |
If you want to switch to another call or want to change the output device, simply attach another program on the FIFO and kill the first. This could be another instance of aplay/aucat or simply cat. | |||
2014-10-02 | Stop this madness | sin | |
2014-10-02 | Actually fill the status message buffer when creating friends | sin | |
2014-10-02 | Add cancelrxcall() | FRIGN | |
2014-10-01 | Fix format specifier for printing nospam | sin | |
2014-10-01 | Use strtoul() instead of strtol() | sin | |
2014-10-01 | Fix a small issue in setnospam and polish the output | FRIGN | |
Previously, it wouldn't check 1-byte-input. Now it does. Also, nospam/out should contain the 8-digit hexadecimal number instead of just the raw string passed to the in-fifo. |