SoundManager icon indicating copy to clipboard operation
SoundManager copied to clipboard

No sound on some devices

Open fpena opened this issue 11 years ago • 5 comments

Hi Nick,

First of all, thanks for the library.

I've developed an app with it, but for some reason, on some devices, it doesn't generate sound unless I plug the headphones.

Have you heard this issue before?

Thanks again.

fpena avatar Aug 27 '13 21:08 fpena

No - which specific devices are you seeing this on?

It may be that you need to change the default audio route. I'll see if there's a simple way to handle that within the library.

nicklockwood avatar Aug 27 '13 22:08 nicklockwood

It is very rare and I haven't experienced that personally. It seems some people can't hear external sound but when plugging headphones, everything is ok.

Looking forward if you find a way to change the default audio route.

Thanks.

On Tue, Aug 27, 2013 at 6:00 PM, Nick Lockwood [email protected]:

No - which specific devices are you seeing this on?

It may be that you need to change the default audio route. I'll see if there's a simple way to handle that within the library.

— Reply to this email directly or view it on GitHubhttps://github.com/nicklockwood/SoundManager/issues/5#issuecomment-23374654 .

Q: Why is this email three sentences or less? A: http://three.sentenc.es


Felipe Peña Riveros http://felipe.penya.cl

fpena avatar Aug 28 '13 01:08 fpena

@fpena I had many people with the same issue... 90% of the time (with the iPad in particular) they didn't realise that they had the mute switch enabled or they didn't know what was it for... unbelievable! :) Some then argued that the audio was ok in other apps. That happens because there are ways to play sounds and media files that ignore the mute setting.

sgabello avatar Sep 17 '13 09:09 sgabello

Yes. That's exactly what happened. It's ok. I'm working with MIDI so only need the library for specific sounds. Thanks Andrea!

On Tue, Sep 17, 2013 at 6:08 AM, Andrea Ottolina [email protected]:

@fpena https://github.com/fpena I had many people with the same issue... 90% of the time (with the iPad in particular) they didn't realise that they had the mute switch enabled or they didn't know what was it for... unbelievable! :) Some then argued that the audio was ok in other apps. That happens because there are ways to play sounds and media files that ignore the mute setting.

— Reply to this email directly or view it on GitHubhttps://github.com/nicklockwood/SoundManager/issues/5#issuecomment-24573795 .

Q: Why is this email three sentences or less? A: http://three.sentenc.es


Felipe Peña Riveros http://felipe.penya.cl

fpena avatar Sep 18 '13 16:09 fpena

Hi! I had this happen very often (maybe after iOS 8.1 ? It didn't happen before Xcode 6 for sure) The sounds won't play in the speaker, unless I plug the earphone, and THEN if I take it out, the speakers will play audio. My usage is as follows:

[SoundManager sharedManager].allowsBackgroundMusic = YES;
[[SoundManager sharedManager] prepareToPlay];
[[SoundManager sharedManager] playSound:fileName looping:NO]

nobre84 avatar Nov 13 '14 13:11 nobre84