rpplusplus / iosmp3recorder Goto Github PK
View Code? Open in Web Editor NEWAVAudioRecorder + lame Mp3 EnCoder
AVAudioRecorder + lame Mp3 EnCoder
Hi, if i record with audio format MPEG4AAC the encoding doesn't work.
This is my recording settings dictionary
NSDictionary *recordSettings = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithInt:kAudioFormatMPEG4AAC], AVFormatIDKey,
[NSNumber numberWithInt:AVAudioQualityLow], AVEncoderAudioQualityKey,
[NSNumber numberWithInt: 1], AVNumberOfChannelsKey,
[NSNumber numberWithFloat:22050.0f], AVSampleRateKey,
nil];
I need this settings because only this work with iPad Air.
Undefined symbols for architecture x86_64:
"_lame_close", referenced from:
-[TXXViewController toMp3] in TXXViewController.o
"_lame_encode_buffer_interleaved", referenced from:
-[TXXViewController toMp3] in TXXViewController.o
"_lame_encode_flush", referenced from:
-[TXXViewController toMp3] in TXXViewController.o
"_lame_init", referenced from:
-[TXXViewController toMp3] in TXXViewController.o
"_lame_init_params", referenced from:
-[TXXViewController toMp3] in TXXViewController.o
"_lame_set_VBR", referenced from:
-[TXXViewController toMp3] in TXXViewController.o
"_lame_set_in_samplerate", referenced from:
-[TXXViewController toMp3] in TXXViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thanks for your great work.
But I need AMR, is there way to make it work?
I tested on iOS 6 and iPad3.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.