summaryrefslogtreecommitdiff
path: root/ratox.c
AgeCommit message (Collapse)Author
2014-10-07Fix possible stack corruption when parsing friend IDssin
2014-10-07Reset fd offset when writing outsin
2014-10-06Nuke leading spacesin
2014-10-06Reset state after hangupsin
2014-10-06Re-order function declssin
2014-10-06Allow to attach aplay after we've initiated a callsin
2014-10-05Factor out check for NULL framesin
2014-10-05Allow simultaneous tx/rx callsin
2014-10-05Clean up calls on shutdownsin
2014-10-05Properly hang up initiating callssin
2014-10-05Fix timing issueFRIGN
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-05Fix 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-05Style fixsin
2014-10-05Add sample-timer for callsFRIGN
2014-10-04Minor stylistic changessin
2014-10-04Add initial outgoing call-supportFRIGN
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-03Default to 0666 permssin
2014-10-03Clarify semanticssin
2014-10-03Put configurable stuff in config.def.hsin
2014-10-03Up max number of callssin
2014-10-03Fix broken buildsin
2014-10-03Refactor code and prepare multiple callsFRIGN
2014-10-03Simplify cbcallstarted()sin
2014-10-03Implement cbcallending() to properly reset state when we cancel the callsin
2014-10-03Hangup the call on EPIPEsin
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-02Stop this madnesssin
2014-10-02Actually fill the status message buffer when creating friendssin
2014-10-02Add cancelrxcall()FRIGN
2014-10-01Fix format specifier for printing nospamsin
2014-10-01Use strtoul() instead of strtol()sin
2014-10-01Fix a small issue in setnospam and polish the outputFRIGN
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.
2014-10-01SAVING LOC!sin
2014-10-01Add connection delay enum instead of magic valuesin
2014-10-01Don't use magic numbers :)sin
2014-10-01Receiving calls works!sin
2014-10-01Rename callbacks and group them properlysin
2014-10-01No need to print the write(2) errorsin
2014-10-01Starting fooling around with toxav; work in progresssin
2014-10-01Break after we cancel the rx transfersin
2014-09-30Add nospam-slotFRIGN
It allows changing and reading the current nospam-value.
2014-09-30Call fiforeset() if we fail to initiate the transfersin
2014-09-30Proper typessin
2014-09-30Be consistent in how we default to the "Anonymous" namesin
2014-09-30Simplify reporting of online statussin
2014-09-30Allow empty namessin
2014-09-30Remove FRIENDNAME macro and refactor codesin
2014-09-30Print filename in file_pendingsin
2014-09-29Staticise fiforeset()sin
2014-09-29Define FRIENDNAME-Macro for repetitive idiomFRIGN
and fill up the missing cases.
2014-09-29Remember volatilesin