mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
33 lines
546 B
C++
33 lines
546 B
C++
#ifndef COREAV_H
|
|
#define COREAV_H
|
|
|
|
#include <tox/toxav.h>
|
|
#include "video/netvideosource.h"
|
|
|
|
#if defined(__APPLE__) && defined(__MACH__)
|
|
#include <OpenAL/al.h>
|
|
#include <OpenAL/alc.h>
|
|
#else
|
|
#include <AL/al.h>
|
|
#include <AL/alc.h>
|
|
#endif
|
|
|
|
class QTimer;
|
|
|
|
struct ToxCall
|
|
{
|
|
public:
|
|
ToxAvCSettings codecSettings;
|
|
QTimer *sendAudioTimer, *sendVideoTimer;
|
|
int callId;
|
|
int friendId;
|
|
bool videoEnabled;
|
|
bool active;
|
|
bool muteMic;
|
|
bool muteVol;
|
|
ALuint alSource;
|
|
NetVideoSource videoSource;
|
|
};
|
|
|
|
#endif // COREAV_H
|