qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
#include <toxcall.h>
Public Member Functions | |
ToxGroupCall ()=delete | |
ToxGroupCall (const Group &group, CoreAV &av, IAudioControl &audio) | |
ToxGroupCall (ToxGroupCall &&other)=delete | |
~ToxGroupCall () | |
ToxGroupCall & | operator= (ToxGroupCall &&other)=delete |
void | removePeer (ToxPk peerId) |
void | playAudioBuffer (const ToxPk &peer, const int16_t *data, int samples, unsigned channels, int sampleRate) |
![]() | |
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 (ToxPk peerId) |
Private Member Functions | |
void | addPeer (ToxPk peerId) |
bool | havePeer (ToxPk peerId) |
void | clearPeers () |
Private Attributes | |
std::map< ToxPk, std::unique_ptr< IAudioSink > > | peers |
Keeps sources for users in group calls. More... | |
std::map< ToxPk, QMetaObject::Connection > | sinkInvalid |
const Group & | group |
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 |
Definition at line 202 of file toxcall.cpp.
|
delete |
ToxGroupCall::~ToxGroupCall | ( | ) |
|
private |
Definition at line 262 of file toxcall.cpp.
|
private |
|
private |
|
privateslot |
Definition at line 243 of file toxcall.cpp.
|
privateslot |
Definition at line 225 of file toxcall.cpp.
|
delete |
void ToxGroupCall::playAudioBuffer | ( | const ToxPk & | peer, |
const int16_t * | data, | ||
int | samples, | ||
unsigned | channels, | ||
int | sampleRate | ||
) |
Definition at line 292 of file toxcall.cpp.
void ToxGroupCall::removePeer | ( | ToxPk | peerId | ) |
Definition at line 249 of file toxcall.cpp.
|
private |
|
private |