summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEniz Vukovic <eniz_vukovic@hotmail.com>2015-10-11 00:01:44 +0200
committerEniz Vukovic <eniz_vukovic@hotmail.com>2015-10-11 00:41:34 +0200
commit8f130b6f256badd93e96c6a7d074d461c6fe106d (patch)
treef33757c617c2f3d5ffe90947773071db8f06d8f1
parentb93322242ab4c4275b01af73e2eca5c36bed6c10 (diff)
Remove old comment
-rw-r--r--other/apidsl/toxav.in.h7
-rw-r--r--toxav/Makefile.inc1
-rw-r--r--toxav/bwcontroler.c2
-rw-r--r--toxav/toxav.c2
-rw-r--r--toxav/toxav.h9
5 files changed, 5 insertions, 16 deletions
diff --git a/other/apidsl/toxav.in.h b/other/apidsl/toxav.in.h
index c272b934..20efa1d1 100644
--- a/other/apidsl/toxav.in.h
+++ b/other/apidsl/toxav.in.h
@@ -433,12 +433,7 @@ bool call_control (uint32_t friend_number, CALL_CONTROL control) {
433 ******************************************************************************/ 433 ******************************************************************************/
434namespace bit_rate { 434namespace bit_rate {
435 /** 435 /**
436 * Set the audio bit rate to be used in subsequent audio frames. If the passed 436 * Set the audio bit rate to be used in subsequent audio/video frames.
437 * bit rate is the same as the current bit rate this function will return true
438 * without calling a callback. If there is an active non forceful setup with the
439 * passed audio bit rate and the new set request is forceful, the bit rate is
440 * forcefully set and the previous non forceful request is cancelled. The active
441 * non forceful setup will be canceled in favour of new non forceful setup.
442 * 437 *
443 * @param friend_number The friend number. 438 * @param friend_number The friend number.
444 * @param audio_bit_rate The new audio bit rate in Kb/sec. Set to 0 to disable 439 * @param audio_bit_rate The new audio bit rate in Kb/sec. Set to 0 to disable
diff --git a/toxav/Makefile.inc b/toxav/Makefile.inc
index 232c06de..083f862f 100644
--- a/toxav/Makefile.inc
+++ b/toxav/Makefile.inc
@@ -18,7 +18,6 @@ libtoxav_la_SOURCES = ../toxav/rtp.h \
18 ../toxav/bwcontroler.c \ 18 ../toxav/bwcontroler.c \
19 ../toxav/toxav.h \ 19 ../toxav/toxav.h \
20 ../toxav/toxav.c \ 20 ../toxav/toxav.c \
21 ../toxav/toxav_old.h \
22 ../toxav/toxav_old.c 21 ../toxav/toxav_old.c
23 22
24libtoxav_la_CFLAGS = -I../toxcore \ 23libtoxav_la_CFLAGS = -I../toxcore \
diff --git a/toxav/bwcontroler.c b/toxav/bwcontroler.c
index 2c468ce3..a4328045 100644
--- a/toxav/bwcontroler.c
+++ b/toxav/bwcontroler.c
@@ -200,7 +200,7 @@ int on_update (BWControler *bwc, struct BWCMessage *msg)
200int bwc_handle_data(Messenger* m, uint32_t friendnumber, const uint8_t* data, uint16_t length, void* object) 200int bwc_handle_data(Messenger* m, uint32_t friendnumber, const uint8_t* data, uint16_t length, void* object)
201{ 201{
202 if (length != sizeof(struct BWCMessage)) 202 if (length != sizeof(struct BWCMessage))
203 return; 203 return -1;
204 204
205 /* NOTE the data is mutable */ 205 /* NOTE the data is mutable */
206 return on_update(object, (struct BWCMessage *) data); 206 return on_update(object, (struct BWCMessage *) data);
diff --git a/toxav/toxav.c b/toxav/toxav.c
index 4a413b66..7585206c 100644
--- a/toxav/toxav.c
+++ b/toxav/toxav.c
@@ -63,7 +63,7 @@ typedef struct ToxAVCall_s {
63 struct ToxAVCall_s *next; 63 struct ToxAVCall_s *next;
64} ToxAVCall; 64} ToxAVCall;
65 65
66struct ToxAV_s { 66struct ToxAV {
67 Messenger *m; 67 Messenger *m;
68 MSISession *msi; 68 MSISession *msi;
69 69
diff --git a/toxav/toxav.h b/toxav/toxav.h
index befae5dc..d558991f 100644
--- a/toxav/toxav.h
+++ b/toxav/toxav.h
@@ -87,7 +87,7 @@ typedef struct Tox Tox;
87 */ 87 */
88#ifndef TOXAV_DEFINED 88#ifndef TOXAV_DEFINED
89#define TOXAV_DEFINED 89#define TOXAV_DEFINED
90typedef struct ToxAV_s ToxAV; 90typedef struct ToxAV ToxAV;
91#endif /* TOXAV_DEFINED */ 91#endif /* TOXAV_DEFINED */
92 92
93 93
@@ -510,12 +510,7 @@ typedef enum TOXAV_ERR_BIT_RATE_SET {
510} TOXAV_ERR_BIT_RATE_SET; 510} TOXAV_ERR_BIT_RATE_SET;
511 511
512/** 512/**
513 * Set the audio bit rate to be used in subsequent audio frames. If the passed 513 * Set the audio bit rate to be used in subsequent audio/video frames.
514 * bit rate is the same as the current bit rate this function will return true
515 * without calling a callback. If there is an active non forceful setup with the
516 * passed audio bit rate and the new set request is forceful, the bit rate is
517 * forcefully set and the previous non forceful request is cancelled. The active
518 * non forceful setup will be canceled in favour of new non forceful setup.
519 * 514 *
520 * @param friend_number The friend number of the friend for which to set the 515 * @param friend_number The friend number of the friend for which to set the
521 * audio bit rate. 516 * audio bit rate.