AudioRecorderGetACMTags Method |
Get ACM tags according to the ACMFormat. You can also set the audio propitiates to get the best results according to the source audio file.
Namespace:
CSAudioRecorder
Assembly:
CSAudioRecorder (in CSAudioRecorder.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax public List<string> GetACMTags(
ACM_FORMAT ACMFormat = ACM_FORMAT.ACM_FORMATENUMF_CONVERT,
int FormatTag = 1,
int SamplesPerSec = 44100,
short Channels = 2,
short BitsPerSample = 16
)
Public Function GetACMTags (
Optional ACMFormat As ACM_FORMAT = ACM_FORMAT.ACM_FORMATENUMF_CONVERT,
Optional FormatTag As Integer = 1,
Optional SamplesPerSec As Integer = 44100,
Optional Channels As Short = 2,
Optional BitsPerSample As Short = 16
) As List(Of String)
Dim instance As AudioRecorder
Dim ACMFormat As ACM_FORMAT
Dim FormatTag As Integer
Dim SamplesPerSec As Integer
Dim Channels As Short
Dim BitsPerSample As Short
Dim returnValue As List(Of String)
returnValue = instance.GetACMTags(ACMFormat,
FormatTag, SamplesPerSec, Channels,
BitsPerSample)
member GetACMTags :
?ACMFormat : ACM_FORMAT *
?FormatTag : int *
?SamplesPerSec : int *
?Channels : int16 *
?BitsPerSample : int16
(* Defaults:
let _ACMFormat = defaultArg ACMFormat ACM_FORMAT.ACM_FORMATENUMF_CONVERT
let _FormatTag = defaultArg FormatTag 1
let _SamplesPerSec = defaultArg SamplesPerSec 44100
let _Channels = defaultArg Channels 2
let _BitsPerSample = defaultArg BitsPerSample 16
*)
-> List<string>
public List<String> GetACMTags(
ACM_FORMAT ACMFormat = ACM_FORMAT.ACM_FORMATENUMF_CONVERT,
int FormatTag = 1,
int SamplesPerSec = 44100,
short Channels = 2,
short BitsPerSample = 16
)
public function GetACMTags(
ACMFormat : ACM_FORMAT,
FormatTag : int,
SamplesPerSec : int,
Channels : short,
BitsPerSample : short
) : List<String>
function GetACMTags(ACMFormat, FormatTag, SamplesPerSec, Channels, BitsPerSample);
Parameters
- ACMFormat (Optional)
- Type: CSAudioRecorderACM_FORMAT
- FormatTag (Optional)
- Type: SystemInt32
- SamplesPerSec (Optional)
- Type: SystemInt32
- Channels (Optional)
- Type: SystemInt16
- BitsPerSample (Optional)
- Type: SystemInt16
Return Value
Type:
ListStringSee Also