Class: EasyAudio::StreamPacket
- Inherits:
-
Struct
- Object
- Struct
- EasyAudio::StreamPacket
- Defined in:
- lib/easy_audio.rb
Overview
Represents a single buffer passed to the Stream process block
Instance Attribute Summary collapse
-
#num_samples ⇒ Object
Returns the value of attribute num_samples.
-
#samples ⇒ Object
Returns the value of attribute samples.
-
#status_info ⇒ Object
Returns the value of attribute status_info.
-
#time_info ⇒ Object
Returns the value of attribute time_info.
-
#user_data ⇒ Object
Returns the value of attribute user_data.
Instance Attribute Details
#num_samples ⇒ Object
Returns the value of attribute num_samples
9 10 11 |
# File 'lib/easy_audio.rb', line 9 def num_samples @num_samples end |
#samples ⇒ Object
Returns the value of attribute samples
9 10 11 |
# File 'lib/easy_audio.rb', line 9 def samples @samples end |
#status_info ⇒ Object
Returns the value of attribute status_info
9 10 11 |
# File 'lib/easy_audio.rb', line 9 def status_info @status_info end |
#time_info ⇒ Object
Returns the value of attribute time_info
9 10 11 |
# File 'lib/easy_audio.rb', line 9 def time_info @time_info end |
#user_data ⇒ Object
Returns the value of attribute user_data
9 10 11 |
# File 'lib/easy_audio.rb', line 9 def user_data @user_data end |