Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-22-2011, 06:53 PM   #1 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 37
Cdub16 is on a distinguished road
Default Mute Microphone

Simple question. How do I mute the microphone programmatically from within an iOS app?
Cdub16 is offline   Reply With Quote
Old 07-23-2011, 03:01 AM   #2 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

you mean during you are recording something in your app?
__________________
dany_dev is offline   Reply With Quote
Old 07-23-2011, 05:03 AM   #3 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Ypsilanti, Michigan
Age: 63
Posts: 1,549
RLScott is on a distinguished road
Default

Quote:
Originally Posted by Cdub16 View Post
Simple question. How do I mute the microphone programmatically from within an iOS app?
For your own app there is no need to mute the microphone. Just ignore what comes from the microphone and your will achieve the same result. For other apps or for the phone you have no right to mute the microphone, so forget about it. It is not possible.
RLScott is offline   Reply With Quote
Old 05-15-2012, 03:22 PM   #4 (permalink)
New User
 
Join Date: May 2012
Location: Madrid, Spain
Age: 45
Posts: 2
cuicmex is an unknown quantity at this point
Default Ignore microphone input

Quote:
Originally Posted by RLScott View Post
For your own app there is no need to mute the microphone. Just ignore what comes from the microphone and your will achieve the same result. For other apps or for the phone you have no right to mute the microphone, so forget about it. It is not possible.
Sorry, I now this is an old thread, but is exactly what I need. How can I ignore the microphone input? I tried with AVAudioSession categories and AVAudioRecorder settings, but nothing works for me.

I have multiple AVAudioPlayer's and one AVAudioRecorder objects, with AVAudioSession configured with AVAudioSessionCategoryPlayAndRecord.

Thanks in advance and sorry for my english.
cuicmex is offline   Reply With Quote
Old 05-16-2012, 05:15 PM   #5 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 25
logicpaw is an unknown quantity at this point
Default

AVAudioRecorder can only record from the microphone. So just stop recording and the mic will be muted.
logicpaw is offline   Reply With Quote
Reply

Bookmarks

Tags
audio, ios, iphone, objective-c

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 403
16 members and 387 guests
7twenty7, blasterbr, buggen, chiataytuday, Clouds, dre, fiftysixty, HemiMG, jeroenkeij, jimmyon122, jonathandeknudt, LEARN2MAKE, n00b, nyoe, pungs, UMAD
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,668
Threads: 94,121
Posts: 402,901
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jonathandeknudt
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:58 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0