RtAudioModule.h File Reference

#include "FsfNode.h"
#include "FsfCell.h"
#include "AudioModule.h"
#include "RtAudio.h"
#include <iostream>

Include dependency graph for RtAudioModule.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  rtaudiom::CReceive
 Receive audio from input interface Implements a push mechanism: process function and filters are not used. More...
class  rtaudiom::CInputInterface
 Audio input interface node. More...
class  rtaudiom::COpenInputStream
 Open input stream cell (access cell for CInputInterface). More...
class  rtaudiom::CCloseInputStream
 Close input stream cell (access cell for CInputInterface. More...
class  rtaudiom::CSend
 Send audio to output interface. More...
class  rtaudiom::COutputInterface
 Audio output interface. More...
class  rtaudiom::COpenOutputStream
 Open output stream cell (access cell for COutputInterface). More...
class  rtaudiom::CCloseOutputStream
 Close output stream cell (access cell for COutputInterface). More...

Namespaces

namespace  rtaudiom
 Regroups elements defined by the RtAudio module.

Functions

void rtaudiom::registerFactories ()
 Function to call to load the node and cell factories in the system.
Utility functions
bool rtaudiom::openInputStream (fsf::CRepository *pRepository, std::string &strInterfaceName, int nInputDevice, int nInputChannels, unsigned int nFormat, unsigned int nSampleRate, unsigned int nBufferFrames=0)
 Opens the input stream of the specified input interface (identified by name and repository) with the specified parameters.
bool rtaudiom::closeInputStream (fsf::CRepository *pRepository, std::string &strInterfaceName)
 Closes the input stream of the specified input interface (identified by name and repository).
bool rtaudiom::openOutputStream (fsf::CRepository *pRepository, std::string &strInterfaceName, int nOutputDevice, int nOutputChannels, unsigned int nFormat, unsigned int nSampleRate, unsigned int nBufferFrames=0)
 Opens the input stream of the specified input interface (identified by name and repository) with the specified parameters.
bool rtaudiom::closeOutputStream (fsf::CRepository *pRepository, std::string &strInterfaceName)
 Closes the output stream of the specified output interface (identified by name and repository).
int rtaudiom::selectInputDevice ()
 Lists available input devices and prompts for selection (cout and cin).
int rtaudiom::selectOutputDevice ()
 Lists available output devices and prompts for selection (cout and cin).

Variables

const unsigned int rtaudiom::RTAUDIO_FORMAT [6] = { 0x20, 0x10, 0x8, 0x4, 0x2, 0x1 }
Handle IDs
const long rtaudiom::STREAM_OUTPUT_DEVICE = 0
const long rtaudiom::STREAM_OUTPUT_CHANNELS = 1
const long rtaudiom::STREAM_INPUT_DEVICE = 2
const long rtaudiom::STREAM_INPUT_CHANNELS = 3
const long rtaudiom::STREAM_AUDIO_FORMAT = 4
const long rtaudiom::STREAM_SAMPLE_RATE = 5
const long rtaudiom::STREAM_BUFFER_FRAMES = 6


Generated on Thu Oct 21 12:39:19 2010 for MFSM Modules by  doxygen 1.5.9