Skip to content

How to switch between headphone and speaker while playing? #62

@clarifysky

Description

@clarifysky

As the title described, I'd like to let people can switch the output device between headphone and speaker while the sound is playing. For example, when people make his/her ear close to the phone, it turns to use headphone to play the sound, otherwise use speaker to play the sound.
How to implement this use AFSoundManager?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions