caicaino / ccaudio Goto Github PK
View Code? Open in Web Editor NEWiOS Audio Record Play
iOS Audio Record Play
最近有个需求是需要做一个mac应用监听声卡的输出,实现内录的功能。我借鉴你的思路准备做一个mac的录音功能,如果可以的话我们交流一下
GSAudioCapture.m
的94~95行:
94行: //设置Element 1即Input Bus的输出为desc设置的参数,就保证我们获取的数据符合我们的要求
95行: AudioUnitSetProperty(self.componetInstance, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Output, kInputBus, &desc, sizeof(desc));
按注释的意思,kAudioUnitScope_Output
是不是要用 kAudioUnitScope_Input
?
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.