Sofa Switch Sound

Overview

This command line application is a simple part of the Sofa Switch family of untilies. It will connect one channel of a stream of UDP PCM audio to the sound card.

Version:
1.0
Author:
Derek J Smithies

Architecture

The programs opens up a sound device on start up, and will send audio to that device. Also, audio is retrieved from the sound device.

There are two thread for handling audio. One for reading audio from the PUDPSocket, and one for writing audio to the PUDPSocket. Thus, you will have a thread waiting on the PUDPSocket for one packet of audio data. on receiving this, it will write that audio to the sound device, and then return to waiting on the PUDPSocket. The other audio thread is waiting on the PSoundChannel for a packet of data from the sound device. On reception of one packet, it will be written to the PUDPSocket, and then go back to waitng for more data from the PSoundChannel.

There are no software timers in this program.

All audio that goes to (or comes from) the sound device is sent over a PUDPSocket to a remote Sofa Switch component.

Control of the application is via the Sofa Switch messaging protocol.

You can use this application to listen in to one voip circuit.

Available classes

The following classes are used in sssound


Generated on Fri Jul 28 13:53:19 2006 for SSSound : Sofa Switch Sound by  doxygen 1.4.6