AudioImporter.forceToMono Manual     Reference     Scripting  
Scripting > Editor Classes > AudioImporter
AudioImporter.forceToMono

var forceToMono : boolean

Description

Force this clip to mono?

    // C#: Import files containing "mono" in their name as mono.
class DetectMono extends AssetPostprocessor {
function OnPreprocessAudio () {
if (assetPath.Contains("mono")) {
var audioImporter : AudioImporter = assetImporter;
audioImporter.forceToMono = true;
}
}
}