Skip to content
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

AudioSession #7

Closed
tonioloewald opened this issue Apr 5, 2012 · 5 comments
Closed

AudioSession #7

tonioloewald opened this issue Apr 5, 2012 · 5 comments

Comments

@tonioloewald
Copy link

I think many users (including me) will need to be able to configure blocks for handling AudioSession events (and provide explicit controls for setting up the AudioSession).

@alexbw
Copy link
Owner

alexbw commented Apr 5, 2012

Ah, interesting. What specifically will you be doing? I want to get a sense of what folks are doing.

On Apr 5, 2012, at 1:08 PM, Tonio Loewald wrote:

I think many users (including me) will need to be able to configure blocks for handling AudioSession events (and provide explicit controls for setting up the AudioSession).


Reply to this email directly or view it on GitHub:
#7

@tonioloewald
Copy link
Author

I'm implementing multi-user chat. Suppose someone gets a phone call in a meeting -- it looks like the default session configuration will automatically stop recording (which is fine) but we might want to capture the same event and flag them as absent.

@alexbw
Copy link
Owner

alexbw commented Apr 6, 2012

Yeah, you'd want to know when input ceases to be available. I'll add a block for session change handling.

On Friday, April 6, 2012 at 1:01 PM, Tonio Loewald wrote:

I'm implementing multi-user chat. Suppose someone gets a phone call in a meeting -- it looks like the default session configuration will automatically stop recording (which is fine) but we might want to capture the same event and flag them as absent.


Reply to this email directly or view it on GitHub:
#7 (comment)

@alexbw
Copy link
Owner

alexbw commented Aug 28, 2012

So what I do for this in a recent project of mine, is do key-value observing on the "inputRoute" parameter of the audioManager.

If I need to do explicit audio setting, I write the CoreAudio code myself, outside of Novocaine. I suppose a more elegant interface could exist, and if my solution crystallizes into something I find to be nice, I might add it in.

@alexbw
Copy link
Owner

alexbw commented Nov 15, 2013

I think this is no longer a thing.

@alexbw alexbw closed this as completed Nov 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants