summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2016-11-21Make sure call is only canceled once...Upon receiving a FINISHED state, the client should consider the call over, and free its local variable. It should NOT try to send a CANCEL signal, as it could try to cancel the call twice, resulting in a double free() that can crash the core. z3bra
2016-11-19Reduce time between sample sending...Start sending the next audio frame before the previous frame is done sending. This is for preventing the peer to receive "blanks" in the audio channel. z3bra
2016-11-19Get audio call to work properly...This commit puts back in place the settings that were previously set regarding audio encoding, preparation of the frame, buffer and so on. These settings used to work great and I modified them without having any clue of how it was working. Now I'm done playing, and it works properly. Hooray. z3bra
2016-11-18Fixed issue preventing the user to answer callsz3bra
2016-11-18Update style for if() conditionsz3bra
2016-11-18Update audio parameters for the new APIz3bra
2016-11-18Add a RINGING state for calls...This helps knowing that a call has been initiated, but not answered yet. We need it because otherwise the state of the FCALL_OUT would not even be evaluated. z3bra
2016-11-14Remove toxcore submodulez3bra
2016-11-14Revert "Compile against local toxcore submodule"...This reverts commit a1d2b63e6af32685f5828c302a0d3edeeb48090f. Ratox now compiles against the latest version of the API, so there is no need for using a local submodule anymore. z3bra
2016-11-10Updated nodes.h, small fixes in loop().pranomostro
2016-11-10Express AUDIOBITRATE in kb/sz3bra
2016-11-10Retrieve/Send nospam value as little-endian...For readiness, nospam value is written in big endian in nospam/out. toxcore expect receiving it as little-endian, so we convert it upon calling the nospam get/setter. z3bra
2016-11-10Remove useless call to FD_CLR()...This snippet was introduced when the client could send too much data to the core for the transfer. The new toxcore API introduces a callback triggered when the core is ready to send more data. It means we don't need to keep track of a local buffer anymore, and simply read from the file_in FIFO when the core is ready. z3bra
2016-11-09Fix nospam value endiannessz3bra
2016-11-08Ensure calls are answered properlyz3bra
2016-11-08Get rid of 'chunksz' attribute in transfer structz3bra
2016-11-08Handle file transfer in multiple chunksz3bra
2016-11-08Various cases of code cleanup:...-Fixed memory leak in datasave(). -Made some types more clean, such as using size_t instead of uint32_t and size_t instead of int. -Removed unneccessary length checks pranomostro
2016-11-08Update toxcore to the latest versionz3bra
2016-11-08Accomodate file transfer callbacks to the new APIz3bra
2016-11-08Mark transfer as complete as soon as chunk len is 0z3bra
2016-11-08Fix argument passing order of tox_pass_decrypt.pranomostro
2016-11-08Pass file number to tox_file_control()z3bra
2016-11-08Monitor friends connected either via TCP or UDPz3bra
2016-11-08Convert ID string using TOX_PUBLIC_KEY_SIZEz3bra
2016-11-08Use av.state to check the current call statez3bra
2016-11-08Prevent memcpy'ing to a non-allocated memory areaz3bra
2016-11-08Change cbcalldata() to match new APIz3bra
2016-11-08Merge all call state changes in cbcallstate()z3bra
2016-11-08Added cbcallstate to deal with call changesz3bra
2016-11-08Setup callback to answer audio callsz3bra
2016-11-08Remove unused cooldown/lastblock fields from transfer structz3bra
2016-11-08Implement chunk_request callback for file transferz3bra
2016-11-08Accomodate file transfer callbacks to the new APIz3bra
2016-11-08Remove unused cooldown/lastblock fields from transfer structz3bra
2016-11-08Implement chunk_request callback for file transferz3bra
2016-11-08Accomodate file transfer callbacks to the new APIz3bra
2016-11-08Small updates to some tox functions, mostly regarding dealing with the return...pranomostro
2016-11-08Updated three more callbacks.pranomostro
2016-11-08Update three callbacks, update handling of user id's size (now public key siz...pranomostro
2016-11-08Cast const uint8_t* to to void * for freeing, fix one memory access on empty ...pranomostro
2016-11-08Fix getter/setter usagez3bra
2016-11-08Change getters/setters to match the new API...The following has been done: * rename tox_{get,set} to tox_self_{get,set} * rename tox_{get,set}_friend to tox_friend_{get,set} * use *_size() functions instead of a return status * pass NULL to discard error handler in _friend_ functions z3bra
2016-11-08Refactor dataload() and datasave().pranomostro
2016-11-08Refactored dataload().pranomostro
2016-11-08Update Tox_Options fields namez3bra
2016-11-08Ditch error reporting in tox_pass_decrypt()z3bra
2016-11-08Discard error reporting in tox_new()z3bra
2016-11-08Pass global toxav struct to make callsz3bra
2016-11-08Get rid of old ToxAvCSettings and use constants insteadz3bra