Firstly, you will need to check if the device is supported, please see this link –
https://www.milestonesys.com/community/business-partner-tools/supported-devices/
If your device’s audio is supported, then you can use AudioPlayerControl class.
Also please see this Audio Demo sample, it might be helpful -