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

Problem with volume after use Novocaine #110

Open
douglasjunior opened this issue Mar 30, 2015 · 1 comment
Open

Problem with volume after use Novocaine #110

douglasjunior opened this issue Mar 30, 2015 · 1 comment

Comments

@douglasjunior
Copy link

I wonder if it is necessary to destroy the "AudioManager" after using it. For, whenever I use it, the device volume crashes.

The "side buttons" volume does not work, and if I play a sound using "AudioServicesPlaySystemSound" the volume is low.

I am using the audio capture, something like:

Novocaine *audioManager = [Novocaine audioManager];
[audioManager setInputBlock:^(float *newAudio, UInt32 numSamples, UInt32 numChannels) {
    // capture here
}];
[audioManager play];

I need to destroy destroy the "AudioManager" after closing the "ViewController"?

@glacialspring
Copy link

I also had this volume problem, and discovered that setting the forceOutputToSpeaker property on iOS to true solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants