Assembly: Bass.Net (in Bass.Net.dll) Version: 18.104.22.168
[SerializableAttribute] public class WaveBuffer
<SerializableAttribute> Public Class WaveBuffer
Thetype exposes the following members.
Returns the bytes per sample (16-bit samples will return 2, 32-bit samples will return 4 and 8-bit samples will return 1).
List of optional beat positions within the WaveForm (or , if no beat positions have been detected).
Each Element reflects one beat position (long value, in bytes of the original rendering resolution).
Bytes per frame (one frame is a window with the length defined in resolution).
Number of channels (1=mono, 2=stereo, ...).
Data buffer containing the rendered peak levels of the right and left channel (one element represents the data of one frame).
The left and right values represent each the absolute signed maximum value of the left resp. right channel' sample data within the rendered frame (e.g. -10000 would be kept instead of +8000). If the channel is mono, then the left and right value of the data would contain the same value.
Structure of one WaveFormWaveBufferLevel element:
| 32-bit | | left | right |
Each level ranges linearly from -32768 to 0 (silent) to +32767.
Will keep the stream create flags (as an int), see BASSFlag.
List of optional markers within the WaveForm (or , if no markers are defined).
Key (string) = Name of the marker, Value (long) = Position of the marker (in bytes of the rendering resolution).
Frame resolution in milliseconds