AllegroFlare/AudioProcessing/AudioDataBlock
view source (cpp, hpp, quintessence) • view tests (test file)
  
    Properties
     
  | block | std::vector<float> | 
  | sample_count | std::size_t | 
  | depth_type | ALLEGRO_AUDIO_DEPTH | 
  | depth_type_size | std::size_t | 
  | frequency | unsigned int | 
  | channel_configuration | ALLEGRO_CHANNEL_CONF | 
  | channel_count | std::size_t | 
  | CHANNEL_LEFT | int | 
  | CHANNEL_RIGHT | int | 
  | sample_head_position | std::size_t | 
  | initialized | bool | 
    
     Methods
     
  | initialize() | 
  | move_sample_head_position_by(std::size_t delta=0) | 
  | set_sample_count(std::size_t sample_count=2048, bool clear=false) | 
  | get_block_size() | 
  | get_sample_at_mono(int sample_position=0, int channel_t=CHANNEL_LEFT) | 
  | set_sample_at_mono(int sample_position=0, int channel_t=CHANNEL_LEFT, float value=0.0f) | 
  | set_sample_at(int sample_position=0, float left_channel_value=0.0f, float right_channel_value=0.0f) | 
  | get_sample_at(int sample_position=0) | 
  | clamp_loop_sample_position(int sample_position=0) | 
    
     Dependencies
     
  | {"symbol"=>"ALLEGRO_MIXER", "headers"=>["allegro5/allegro_audio.h"]} | 
  | {"symbol"=>"ALLEGRO_AUDIO_DEPTH", "headers"=>["allegro5/allegro_audio.h"]} | 
  | {"symbol"=>"ALLEGRO_CHANNEL_CONF", "headers"=>["allegro5/allegro_audio.h"]} | 
  | {"symbol"=>"std::size_t", "headers"=>["cstddef"]} | 
    
    
Sponsor
Visit CLUBCATT for cat shirts, cat mugs, cat puzzles, and more.