mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Remove old comment
This commit is contained in:
parent
b93322242a
commit
8f130b6f25
|
@ -433,12 +433,7 @@ bool call_control (uint32_t friend_number, CALL_CONTROL control) {
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
namespace bit_rate {
|
namespace bit_rate {
|
||||||
/**
|
/**
|
||||||
* Set the audio bit rate to be used in subsequent audio frames. If the passed
|
* Set the audio bit rate to be used in subsequent audio/video frames.
|
||||||
* bit rate is the same as the current bit rate this function will return true
|
|
||||||
* without calling a callback. If there is an active non forceful setup with the
|
|
||||||
* passed audio bit rate and the new set request is forceful, the bit rate is
|
|
||||||
* forcefully set and the previous non forceful request is cancelled. The active
|
|
||||||
* non forceful setup will be canceled in favour of new non forceful setup.
|
|
||||||
*
|
*
|
||||||
* @param friend_number The friend number.
|
* @param friend_number The friend number.
|
||||||
* @param audio_bit_rate The new audio bit rate in Kb/sec. Set to 0 to disable
|
* @param audio_bit_rate The new audio bit rate in Kb/sec. Set to 0 to disable
|
||||||
|
|
|
@ -18,7 +18,6 @@ libtoxav_la_SOURCES = ../toxav/rtp.h \
|
||||||
../toxav/bwcontroler.c \
|
../toxav/bwcontroler.c \
|
||||||
../toxav/toxav.h \
|
../toxav/toxav.h \
|
||||||
../toxav/toxav.c \
|
../toxav/toxav.c \
|
||||||
../toxav/toxav_old.h \
|
|
||||||
../toxav/toxav_old.c
|
../toxav/toxav_old.c
|
||||||
|
|
||||||
libtoxav_la_CFLAGS = -I../toxcore \
|
libtoxav_la_CFLAGS = -I../toxcore \
|
||||||
|
|
|
@ -200,7 +200,7 @@ int on_update (BWControler *bwc, struct BWCMessage *msg)
|
||||||
int bwc_handle_data(Messenger* m, uint32_t friendnumber, const uint8_t* data, uint16_t length, void* object)
|
int bwc_handle_data(Messenger* m, uint32_t friendnumber, const uint8_t* data, uint16_t length, void* object)
|
||||||
{
|
{
|
||||||
if (length != sizeof(struct BWCMessage))
|
if (length != sizeof(struct BWCMessage))
|
||||||
return;
|
return -1;
|
||||||
|
|
||||||
/* NOTE the data is mutable */
|
/* NOTE the data is mutable */
|
||||||
return on_update(object, (struct BWCMessage *) data);
|
return on_update(object, (struct BWCMessage *) data);
|
||||||
|
|
|
@ -63,7 +63,7 @@ typedef struct ToxAVCall_s {
|
||||||
struct ToxAVCall_s *next;
|
struct ToxAVCall_s *next;
|
||||||
} ToxAVCall;
|
} ToxAVCall;
|
||||||
|
|
||||||
struct ToxAV_s {
|
struct ToxAV {
|
||||||
Messenger *m;
|
Messenger *m;
|
||||||
MSISession *msi;
|
MSISession *msi;
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ typedef struct Tox Tox;
|
||||||
*/
|
*/
|
||||||
#ifndef TOXAV_DEFINED
|
#ifndef TOXAV_DEFINED
|
||||||
#define TOXAV_DEFINED
|
#define TOXAV_DEFINED
|
||||||
typedef struct ToxAV_s ToxAV;
|
typedef struct ToxAV ToxAV;
|
||||||
#endif /* TOXAV_DEFINED */
|
#endif /* TOXAV_DEFINED */
|
||||||
|
|
||||||
|
|
||||||
|
@ -510,12 +510,7 @@ typedef enum TOXAV_ERR_BIT_RATE_SET {
|
||||||
} TOXAV_ERR_BIT_RATE_SET;
|
} TOXAV_ERR_BIT_RATE_SET;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the audio bit rate to be used in subsequent audio frames. If the passed
|
* Set the audio bit rate to be used in subsequent audio/video frames.
|
||||||
* bit rate is the same as the current bit rate this function will return true
|
|
||||||
* without calling a callback. If there is an active non forceful setup with the
|
|
||||||
* passed audio bit rate and the new set request is forceful, the bit rate is
|
|
||||||
* forcefully set and the previous non forceful request is cancelled. The active
|
|
||||||
* non forceful setup will be canceled in favour of new non forceful setup.
|
|
||||||
*
|
*
|
||||||
* @param friend_number The friend number of the friend for which to set the
|
* @param friend_number The friend number of the friend for which to set the
|
||||||
* audio bit rate.
|
* audio bit rate.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user