qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
#include <toxcall.h>
Public Member Functions | |
ToxFriendCall ()=delete | |
ToxFriendCall (uint32_t friendId, bool VideoEnabled, CoreAV &av, IAudioControl &audio) | |
ToxFriendCall (ToxFriendCall &&other)=delete | |
ToxFriendCall & | operator= (ToxFriendCall &&other)=delete |
~ToxFriendCall () | |
TOXAV_FRIEND_CALL_STATE | getState () const |
void | setState (const TOXAV_FRIEND_CALL_STATE &value) |
void | playAudioBuffer (const int16_t *data, int samples, unsigned channels, int sampleRate) const |
![]() | |
ToxCall (const ToxCall &other)=delete | |
ToxCall (ToxCall &&other)=delete | |
ToxCall & | operator= (const ToxCall &other)=delete |
ToxCall & | operator= (ToxCall &&other)=delete |
bool | isActive () const |
void | setActive (bool value) |
bool | getMuteVol () const |
void | setMuteVol (bool value) |
bool | getMuteMic () const |
void | setMuteMic (bool value) |
bool | getVideoEnabled () const |
void | setVideoEnabled (bool value) |
bool | getNullVideoBitrate () const |
void | setNullVideoBitrate (bool value) |
CoreVideoSource * | getVideoSource () const |
Private Slots | |
void | onAudioSourceInvalidated () |
void | onAudioSinkInvalidated () |
Private Attributes | |
QMetaObject::Connection | audioSinkInvalid |
TOXAV_FRIEND_CALL_STATE | state {TOXAV_FRIEND_CALL_STATE_NONE} |
State of the peer (not ours!) More... | |
std::unique_ptr< IAudioSink > | sink |
uint32_t | friendId |
Additional Inherited Members | |
![]() | |
ToxCall ()=delete | |
ToxCall (bool VideoEnabled, CoreAV &av, IAudioControl &audio) | |
~ToxCall () | |
![]() | |
bool | active {false} |
CoreAV * | av {nullptr} |
IAudioControl & | audio |
bool | muteMic {false} |
bool | muteVol {false} |
CoreVideoSource * | videoSource {nullptr} |
QMetaObject::Connection | videoInConn |
bool | videoEnabled {false} |
bool | nullVideoBitrate {false} |
std::unique_ptr< IAudioSource > | audioSource |
|
delete |
ToxFriendCall::ToxFriendCall | ( | uint32_t | friendId, |
bool | VideoEnabled, | ||
CoreAV & | av, | ||
IAudioControl & | audio | ||
) |
Definition at line 121 of file toxcall.cpp.
|
delete |
ToxFriendCall::~ToxFriendCall | ( | ) |
Definition at line 156 of file toxcall.cpp.
TOXAV_FRIEND_CALL_STATE ToxFriendCall::getState | ( | ) | const |
|
privateslot |
Definition at line 173 of file toxcall.cpp.
|
privateslot |
Definition at line 161 of file toxcall.cpp.
|
delete |
void ToxFriendCall::playAudioBuffer | ( | const int16_t * | data, |
int | samples, | ||
unsigned | channels, | ||
int | sampleRate | ||
) | const |
void ToxFriendCall::setState | ( | const TOXAV_FRIEND_CALL_STATE & | value | ) |
Definition at line 189 of file toxcall.cpp.
|
private |
|
private |