AudioTrack.SetBufferSizeInFrames(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Limits the effective size of the <code>AudioTrack</code> buffer that the application writes to.
[Android.Runtime.Register("setBufferSizeInFrames", "(I)I", "GetSetBufferSizeInFrames_IHandler", ApiSince=24)]
public virtual int SetBufferSizeInFrames (int bufferSizeInFrames);
[<Android.Runtime.Register("setBufferSizeInFrames", "(I)I", "GetSetBufferSizeInFrames_IHandler", ApiSince=24)>]
abstract member SetBufferSizeInFrames : int -> int
override this.SetBufferSizeInFrames : int -> int
Parameters
- bufferSizeInFrames
- Int32
requested buffer size in frames
Returns
the actual buffer size in frames or an error code,
#ERROR_BAD_VALUE, #ERROR_INVALID_OPERATION
- Attributes
Remarks
Java documentation for android.media.AudioTrack.setBufferSizeInFrames(int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.