找回密碼
 注冊帳號

掃一掃,訪問微社區

audioimporter.compressionbitrate 壓縮的比特率

2015-1-3 02:47| 發布者: 楊炎| 查看: 2780| 評論: 0|原作者: 蠻牛|來自: unity3d腳本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");

}

}

文章點評
女校游泳队彩金