Click here to Skip to main content
14,211,427 members
Click here to Skip to main content
Articles » Languages » C# » General » Downloads

Stats

34.1K views
1.5K downloads
24 bookmarked

Using OpenTK/OpenAL to Develop Cross Platform DIS VOIP Application

,
Rate this:
4.79 (8 votes)
Please Sign up or sign in to vote.
4.79 (8 votes)
15 Mar 2010     BSD    
Application allows voice communications (VOIP) utilizing the Distributed Interactive Simulation protocol (IEEE 1278.1)
MonoDISRadioTransmitter
AudioIN
bin
Properties
StyleCop.Cache
AudioOUT
bin
Properties
DISNET
bin
DataStreams
DISPDU
Enumerations
Properties
Utilities
OpenDISRadioTransmitterExample
AudioCodecs
bin
OpenDISRadioTransmitter.csproj.user
OpenTK
OpenTK.Compatibility.dll
OpenTK.dll
OpenTK.GLControl.dll
Properties
StyleCop.Cache
OpenDISRadioTransmitterSolution.suo
RadioFeatureSelection
bin
Properties
Sockets
bin
Properties
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DISnet.Enumerations
{
    public static class SignalPDUEnumerations
    {
//        Encoding Classes (bits 15 and 14) are:
//        Field Value (bits 15, 14)     Radio Signal Encoding Class
//              0 (0,0)                     Encoded audio
//              1 (0,1)                    Raw Binary Data
//              2 (1,0)                    Application-Specific Data
//              3 (1,1)                    Database index
        
        [FlagsAttribute]
        public enum RadioSignalEncodingClassEnum : short
        {
            Encoded_Audio = 0, Raw_Binary_Data = 1, Application_Specific_Data = 2, Database_Index = 3
        }

        //    Encoding Types (bits 13-0) are:
        //Field Value     Radio Signal Encoding Type
        //    1               8-bit mu-law
        //    2               CVSD per MIL-STD-188-113
        //    3               ADPCM per CCITT G.721
        //    4               16-bit linear PCM
        //    5               8-bit linear PCM
        //    6               VQ (Vector Quantization)

        public enum RadioSignalEncodingTypeEnum : short
        {
	         Eight_Bit_MuLaw = 1, CVSD = 2, ADPCM_G721 = 3, Sixteen_Bit_Linear_PCM = 4, Eight_Bit_Linear_PCM = 5, Vector_Quantization = 6
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License

Share

About the Author

pesmith
Software Developer
United States United States
No Biography provided

Layout: fixed | fluid

Article Copyright 2010 by pesmith
Everything else Copyright © CodeProject, 1999-2019

Server Web01
Version 2.8.190619.1