libvisual  0.5.0
Namespaces | Macros | Typedefs | Enumerations | Functions
VisAudio
Collaboration diagram for VisAudio:

Namespaces

namespace  LV
 Libvisual namespace.
 

Macros

#define VISUAL_AUDIO_CHANNEL_LEFT   "left"
 
#define VISUAL_AUDIO_CHANNEL_RIGHT   "right"
 

Typedefs

typedef LV::Audio VisAudio
 

Enumerations

enum  VisAudioSampleRateType {
  VISUAL_AUDIO_SAMPLE_RATE_NONE = 0, VISUAL_AUDIO_SAMPLE_RATE_8000, VISUAL_AUDIO_SAMPLE_RATE_11250, VISUAL_AUDIO_SAMPLE_RATE_22500,
  VISUAL_AUDIO_SAMPLE_RATE_32000, VISUAL_AUDIO_SAMPLE_RATE_44100, VISUAL_AUDIO_SAMPLE_RATE_48000, VISUAL_AUDIO_SAMPLE_RATE_96000,
  VISUAL_AUDIO_SAMPLE_RATE_LAST
}
 
enum  VisAudioSampleFormatType {
  VISUAL_AUDIO_SAMPLE_FORMAT_NONE = 0, VISUAL_AUDIO_SAMPLE_FORMAT_U8, VISUAL_AUDIO_SAMPLE_FORMAT_S8, VISUAL_AUDIO_SAMPLE_FORMAT_U16,
  VISUAL_AUDIO_SAMPLE_FORMAT_S16, VISUAL_AUDIO_SAMPLE_FORMAT_U32, VISUAL_AUDIO_SAMPLE_FORMAT_S32, VISUAL_AUDIO_SAMPLE_FORMAT_FLOAT,
  VISUAL_AUDIO_SAMPLE_FORMAT_LAST
}
 
enum  VisAudioSampleChannelType { VISUAL_AUDIO_SAMPLE_CHANNEL_NONE = 0, VISUAL_AUDIO_SAMPLE_CHANNEL_STEREO }
 

Functions

VisAudiovisual_audio_new (void)
 
void visual_audio_free (VisAudio *audio)
 
int visual_audio_get_sample (VisAudio *audio, VisBuffer *buffer, const char *channelid)
 
void visual_audio_get_sample_mixed_simple (VisAudio *audio, VisBuffer *buffer, unsigned int channels,...)
 
void visual_audio_get_sample_mixed (VisAudio *audio, VisBuffer *buffer, int divide, unsigned int channels,...)
 
void visual_audio_get_spectrum (VisAudio *audio, VisBuffer *buffer, int samplelen, const char *channelid, int normalised)
 
void visual_audio_get_spectrum_multiplied (VisAudio *audio, VisBuffer *buffer, int samplelen, const char *channelid, int normalised, float multiplier)
 
void visual_audio_get_spectrum_for_sample (VisBuffer *buffer, VisBuffer *sample, int normalised)
 
void visual_audio_get_spectrum_for_sample_multiplied (VisBuffer *buffer, VisBuffer *sample, int normalised, float multiplier)
 
void visual_audio_input (VisAudio *audio, VisBuffer *buffer, VisAudioSampleRateType rate, VisAudioSampleFormatType format, VisAudioSampleChannelType channeltype)
 
void visual_audio_input_channel (VisAudio *audio, VisBuffer *buffer, VisAudioSampleRateType rate, VisAudioSampleFormatType format, const char *channelid)
 
void visual_audio_normalise_spectrum (VisBuffer *buffer)
 
visual_size_t visual_audio_sample_rate_get_length (VisAudioSampleRateType rate)
 
visual_size_t visual_audio_sample_format_get_size (VisAudioSampleFormatType format)
 
int visual_audio_sample_format_is_signed (VisAudioSampleFormatType format)
 

Detailed Description