Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Listening music, podcast while playing game — Gideros Forum

Listening music, podcast while playing game

RickyngkRickyngk Member
edited April 2013 in General questions
Hi,
One customer of us would like to listen music/podcast while playing game, but those thing will be halted when game initiated. Would you please help me know how to overcomes this issue ?
Thx,

Comments

  • ar2rsawseenar2rsawseen Maintainer
    @Rickyngk

    I supposed you are talking about IOS, right?

    You need to open AppDelegate.m and change the line
    [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategorySoloAmbient error:nil];
    to
    [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryAmbient error:nil];

    Likes: Rickyngk, phongtt

    +1 -1 (+2 / -0 )Share on Facebook
  • Right ! Thanks ar2rsawseen !
  • That's a great help - that's JUST the bit of code I'm looking for :)
    WhiteTree Games - Home, home on the web, where the bits and bytes they do play!
    #MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
Sign In or Register to comment.