語言

AudioDeviceInfo.GetSampleRates 方法

定義

取得音訊裝置埠所報告的取樣率值。

[Android.Runtime.Register("getSampleRates", "()[I", "", ApiSince=23)]
public int[] GetSampleRates();
[<Android.Runtime.Register("getSampleRates", "()[I", "", ApiSince=23)>]
member this.GetSampleRates : unit -> int[]

傳回

Int32[]

音訊裝置支援的取樣率陣列。

        Note: an empty array indicates that the device supports arbitrary rates.
屬性

備註

Java 文件 android.media.AudioDeviceInfo.getSampleRates()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於