ASTi Logo
Data Structures | Typedefs | Enumerations
vrc_types.h File Reference

Data Structures

struct  DISParams_t
 DIS parameters. More...
 
struct  CallInvitation_t
 Call invitation. More...
 

Typedefs

typedef void(* AudioCallback) (char *left_bytes, unsigned int left_len, unsigned int left_samples, char *right_bytes, unsigned int right_len, unsigned int right_samples)
 Auxiliary Audio Callback. More...
 

Enumerations

enum  ConnectionStatus_t { STATUS_NONE, STATUS_DISCONNECTED, STATUS_CONNECTED }
 Client connection status. More...
 
enum  ConnectionMode_t { CONNECT_MODE_NONE, CONNECT_MODE_STANDALONE, CONNECT_MODE_SERVER, CONNECT_MODE_CLOUD }
 Connection Modes. More...
 
enum  ConnectState_t {
  TARGET_CONNECT, ROLE_GET, ROLES_RECEIVED, ROLE_SET,
  ROLE_CONNECT, ROLE_CONNECTED, TARGET_AUTHORIZE
}
 Role connection states. More...
 
enum  AudioEncoding_t { AUDIO_ENCODING_MULAW = 1, AUDIO_ENCODING_SPCM16 = 4 }
 Audio Encoding. More...
 
enum  Balance_t { BALANCE_LEFT = 1, BALANCE_RIGHT = 2, BALANCE_STEREO = 3, BALANCE_CENTER = 128 }
 Audio Balance. More...
 
enum  RadioTuningMethod_t {
  RADIO_TUNE_FREQ_BW = 1, RADIO_TUNE_FREQ = 2, RADIO_TUNE_VOIP = 3, RADIO_TUNE_HQ = 4,
  RADIO_TUNE_SG = 5, RADIO_TUNE_HFECCM = 6, RADIO_TUNE_AMBSOUND = 7
}
 Radio tuning methods. More...
 
enum  LicenseStatus_t { LICENSE_STATUS_PENDING = 1, LICENSE_STATUS_GRANTED = 2, LICENSE_STATUS_RELEASED = 3, LICENSE_STATUS_LOST = 4 }
 License request status. More...
 
enum  AudioDeviceType_t { AUDIO_DEVICE_PLAYBACK = 1, AUDIO_DEVICE_CAPTURE = 2, AUDIO_DEVICE_PLAYBACK2 = 3, AUDIO_DEVICE_TOTAL }
 Audio Device Types. More...
 
enum  JammerRecordReplayState_t {
  JAMMER_STATE_INIT = 1, JAMMER_STATE_WAITING = 2, JAMMER_STATE_RECORDING = 3, JAMMER_STATE_REPLAYING = 4,
  JAMMER_STATE_IDLE = 5
}
 Jammer Record/Replay State. More...
 

Typedef Documentation

typedef void(* AudioCallback) (char *left_bytes, unsigned int left_len, unsigned int left_samples, char *right_bytes, unsigned int right_len, unsigned int right_samples)

Auxiliary Audio Callback.

Parameters
left_bytesBytes of audio received
left_lenLength of bytes received
left_samplesCount of samples received
right_bytesBytes of audio received
right_lenLength of bytes received
right_samplesCount of samples received
See also
AuxAudio_Register

Enumeration Type Documentation

Audio Device Types.

Enumerator
AUDIO_DEVICE_PLAYBACK 

Playback device (Speakers, Headsets)

AUDIO_DEVICE_CAPTURE 

Capture device (Microphone)

AUDIO_DEVICE_PLAYBACK2 

Secondary playback device.

AUDIO_DEVICE_TOTAL 

Audio Encoding.

Enumerator
AUDIO_ENCODING_MULAW 

8-bit Mulaw (G.711) encoding

AUDIO_ENCODING_SPCM16 

16-bit Signed PCM encoding

enum Balance_t

Audio Balance.

Enumerator
BALANCE_LEFT 

Audio played on left.

BALANCE_RIGHT 

Audio played on right.

BALANCE_STEREO 

Audio played on left and right (stereo)

BALANCE_CENTER 

Audio played on center (mono)

Connection Modes.

Enumerator
CONNECT_MODE_NONE 

No connection mode.

CONNECT_MODE_STANDALONE 

Connecting to local radio environment.

CONNECT_MODE_SERVER 

Connecting to remote Voisus server.

CONNECT_MODE_CLOUD 

Connecting to an ASTi cloud.

Client connection status.

Enumerator
STATUS_NONE 

Client has not connected to a target.

STATUS_DISCONNECTED 

Client has disconnected from a target.

STATUS_CONNECTED 

Client is currently connected to a target.

Role connection states.

Enumerator
TARGET_CONNECT 

Connecting to Target.

ROLE_GET 

Connected to Target, requesting roles.

ROLES_RECEIVED 

Received roles.

ROLE_SET 

Sending role request.

ROLE_CONNECT 

Role request confirmed, Acquiring license for Operator.

ROLE_CONNECTED 

Connected to Operator.

TARGET_AUTHORIZE 

Authorizing with Target.

Jammer Record/Replay State.

Enumerator
JAMMER_STATE_INIT 

Initial state, no recording completed.

JAMMER_STATE_WAITING 

Waiting to record next received audio.

JAMMER_STATE_RECORDING 

Recording audio.

JAMMER_STATE_REPLAYING 

Replaying audio.

JAMMER_STATE_IDLE 

Idle state with audio recorded.

License request status.

Enumerator
LICENSE_STATUS_PENDING 

Request pending.

LICENSE_STATUS_GRANTED 

Request granted.

LICENSE_STATUS_RELEASED 

Request released.

LICENSE_STATUS_LOST 

Request lost.

Radio tuning methods.

Enumerator
RADIO_TUNE_FREQ_BW 

Frequency and Bandwidth tuning.

RADIO_TUNE_FREQ 

Frequency only tuning.

RADIO_TUNE_VOIP 

VOIP tuning.

RADIO_TUNE_HQ 

HaveQuick tuning.

RADIO_TUNE_SG 

SINCGARS tuning.

RADIO_TUNE_HFECCM 

HF ECCM tuning.

RADIO_TUNE_AMBSOUND 

Ambient Sound tuning.