InternalDevice device) {
// Convert the variant into an asset.
AudioMetaData metaData = (AudioMetaData) variant.getMetaData();
AudioAsset asset = new AudioAsset();
setAssetIdentity(policy, asset);
asset.setEncoding(ENCODING.get(metaData.getAudioEncoding()));
setValue(asset, variant);
return asset;
}