Skip to content

mani95lisa/ANE-RecordAudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANE-RecordAudio

ANE Record and Convert Audio in many formates

//Demo
setTimeout(function():void{
	trace('Begin');
	RecordAudio.instance.startRecord('test1');
},
3000);

setTimeout(function():void{
	RecordAudio.instance.stopRecord(function(url:String):void{
		var f:File = new File(url);
		trace(f.exists, url);
	});
	trace('Stoped');
}, 6000);
setTimeout(function():void{
	//You can convert to MP3
	RecordAudio.instance.toMp3(function(url):void{
		var f:File = new File(url);
		trace(f.exists, url);
	});
	//AMR is the smallest record format
	RecordAudio.instance.toAMR(function(url):void{
		var f:File = new File(url);
		trace(f.exists, url);
		RecordAudio.playAmr(url, volume, callback);
	});
}, 8000);

About

ANE Record and Convert Audio in many formates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published