mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
30 lines
462 B
C
30 lines
462 B
C
|
#ifndef COREAV_H
|
||
|
#define COREAV_H
|
||
|
|
||
|
#include <tox/toxav.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;
|
||
|
ALuint alSource;
|
||
|
};
|
||
|
|
||
|
#endif // COREAV_H
|