audioimporter.compressionbitrate 压缩的比特率

2015-1-3 02:47| 发布者: 杨炎| 查看: 2316| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: audioimporter.compressionbitrate 压缩的比特率varcompressionbitrate: intdescription描述compression bitrate.压缩的比特率。this value is in bits/second, e.g. 128000 would be 128 kbps.这个值是 bits/second ...

audioimporter.compressionbitrate 压缩的比特率

varcompressionbitrate: int

description描述

compression bitrate.

压缩的比特率。

this value is in bits/second, e.g. 128000 would be 128 kbps.

这个值是 bits/second ,如,128000 将是 128 kbps。

// prints the bitrate of the imported audio files

//打印导入音频文件的比特率

class bitratelogger extendsassetpostprocessor{

function onpreprocessaudio () {

var audioimporter : audioimporter = assetimporter;

debug.log(assetpath + " - " + audioimporter.compressionbitrate + " bits/second");

}

}

文章点评