Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
Statistic
FMM
Blog
WMFP.GetAudioBitsPerSample
Number of bits per audio sample in an audio media type.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WMFP | 13.2 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "WMFP.GetAudioBitsPerSample"; Player ) More
Parameters
Parameter | Description | Example |
---|---|---|
Player | The reference number for the Windows Media Foundation Player object. | $$Player |
Result
Returns value or error.
Description
Number of bits per audio sample in an audio media type.Requires a media item being loaded into the player.
Examples
Query it:
Set Variable [ $num; Value: MBS("WMFP.GetAudioBitsPerSample"; $$player) ]
Example result: 16
Release notes
- Version 13.2
- Added WMFP.GetAudioBitsPerSample, WMFP.GetAudioChannels, WMFP.GetAudioSamplesPerSecond and WMFP.GetVideoFrameRate functions.
Blog Entries
Created 15th March 2023, last changed 15th March 2023
