Class: EasyAudio::StreamPacket

Inherits:
Struct
  • Object
show all
Defined in:
lib/easy_audio.rb

Overview

Represents a single buffer passed to the Stream process block

Instance Attribute Summary collapse

Instance Attribute Details

#num_samplesObject

Returns the value of attribute num_samples

Returns:

  • (Object)

    the current value of num_samples



9
10
11
# File 'lib/easy_audio.rb', line 9

def num_samples
  @num_samples
end

#samplesObject

Returns the value of attribute samples

Returns:

  • (Object)

    the current value of samples



9
10
11
# File 'lib/easy_audio.rb', line 9

def samples
  @samples
end

#status_infoObject

Returns the value of attribute status_info

Returns:

  • (Object)

    the current value of status_info



9
10
11
# File 'lib/easy_audio.rb', line 9

def status_info
  @status_info
end

#time_infoObject

Returns the value of attribute time_info

Returns:

  • (Object)

    the current value of time_info



9
10
11
# File 'lib/easy_audio.rb', line 9

def time_info
  @time_info
end

#user_dataObject

Returns the value of attribute user_data

Returns:

  • (Object)

    the current value of user_data



9
10
11
# File 'lib/easy_audio.rb', line 9

def user_data
  @user_data
end