ios - Why don't hear music after recording in swift? -


i'm making karaoke application. if headphones aren't plugged in, app works fine. (my voice , background music record together). successful, when same way headphone listen recording. can't hear background music, hear voice clearly. attached code below used:

https://github.com/genedelisa/avfoundationrecorder

the issue when headphones plugged in, mic not able pick , record audio, voice. obviously, when headphones not plugged in, not issue.

i recommend combine music , voice recording after voice recorded if user using headphones. suggestions on how can found on post: how merge 2 mp3 files ios?

also, check if headphones plugged in check out post: are headphones plugged in? ios7


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -