-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First second mute with mic (great-refactor) #226
Comments
Yeah i know i shouldn't free it, infact the free you see was related to an old version of the same piece of code (i forgot to comment it). |
Added this before StartSampling and nothing changed: do { MICU_GetPower(&power); }while(!power); |
Using svcSleepThread(1000000000); seems to work but now i (obviously) have a sleep for a second. What could be an optimal value? EDIT: Not related to the issue: Is it possible to change how mic works to use memory allocated with linearMemAlign? Using memalign seems to produce a buffer which can't be directly reproduced with csnd:SND so i have to waste clock cycles to do a memcpy to a buffer allocated with linearAlloc after recording. |
Seems first mute second is still here with microphone. This is the code i'm using that gives that problem: http://pastebin.com/58biXMur
The text was updated successfully, but these errors were encountered: