AudioTrack.GetFlushWrittenFramesFromPositionSupport 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.
Returns a bit mask representing the current feature support for
#flushWrittenFramesFromPosition(long, int) for the AudioTrack in offload mode
that is created with the given AudioFormat and AudioAttributes.
[Android.Runtime.Register("getFlushWrittenFramesFromPositionSupport", "(Landroid/media/AudioFormat;Landroid/media/AudioAttributes;)I", "", ApiSince=37)]
public static int GetFlushWrittenFramesFromPositionSupport(Android.Media.AudioFormat format, Android.Media.AudioAttributes attributes);
[<Android.Runtime.Register("getFlushWrittenFramesFromPositionSupport", "(Landroid/media/AudioFormat;Landroid/media/AudioAttributes;)I", "", ApiSince=37)>]
static member GetFlushWrittenFramesFromPositionSupport : Android.Media.AudioFormat * Android.Media.AudioAttributes -> int
Parameters
- format
- AudioFormat
the AudioFormat to create AudioTrack
- attributes
- AudioAttributes
the AudioAttributes to create AudioTrack
Returns
a bitmask representing the #flushWrittenFramesFromPosition(long, int)
support level. If #flushWrittenFramesFromPosition(long, int) is not supported,
0 is returned.
- Attributes
Remarks
Returns a bit mask representing the current feature support for flushWrittenFramesFromPosition(long, int) for the AudioTrack in offload mode that is created with the given AudioFormat and AudioAttributes.
Android reference for android.media.AudioTrack.getFlushWrittenFramesFromPositionSupport.
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.