Type Casting in c

C Programming Tutorial

Type Casting in c Type casting means changing a variable of one data type into another. The compiler will automatically change one type of data into another if it makes sense. For instance, if you assign an integer value to a floating-point variable, the compiler will convert the int to a float. Casting allows you to … Read more

Difference between Type Casting and Type Conversion

C Programming Tutorial

Difference between Type Casting and Type Conversion 1. Type Casting: In typing casting, a data type is converted into another data type by the programmer using the casting operator during the program design. In typing casting, the destination data type may be smaller than the source data type when converting the data type to another … Read more

G.729 codec

free g729 codec for asterisk

G.729 codec G.729 is a codec with low bandwidth requirements; it provides good audio quality. The codec encodes audio in frames of 10 ms long. Given a sampling frequency of 8 kHz, a 10 ms frame contains 80 audio samples. The codec algorithm encodes each frame into 10 bytes, so the resulting bitrate is 8 … Read more

C Program to find GCD of N Numbers

C program for GCD

C Program to find GCD of N Numbers #include<stdio.h> int main() { printf(“\n\n\t\tC Program for Greatest Common Divisor(GCD)\n\n\n”); int x, y =- 1; printf(“Enter numbers. To exit enter 0\n”); while(1) // infinite loop to take input { scanf(“%d”, &x); if(x < 1) break; else if(y ==- 1) // only 1 number entered, its GCD is … Read more

G.711 Codec

VoIP-Codecs

G.711 Codec G.711 is a codec that was introduced by ITU in 1972 for use in digital telephony. The codec has two variants: A-Law is being used in Europe and in international telephone links, uLaw is used in the U.S.A. and Japan. G.711 uses a logarithmic compression. It squeezes each 16-bit sample to 8 bits, thus it achieves a … Read more

Basic Call Flow – SIP

peer to peer sip flow

Basic Call Flow – SIP Key terms used in SIP: It is important to familiarize with these terms in order to understand basic SIP call flow. Here are few of them: Call flow: It’s a flow diagram of SIP messages — shows an ideal way how a media session carried over two endpoints. Its a … Read more

SIP : Session Initiation Protocol

sip_layers

SIP : Session Initiation Protocol Session Initiation Protocol (SIP) is one of the most common protocols used in VoIP technology. It is an application layer protocol that works in conjunction with other application layer protocols to control multimedia communication sessions over the Internet. SIP Endpoint Communication What is VoIP Technology Before moving further, let us … Read more