GLBasic forum

Main forum => GLBasic - en => Topic started by: Kyo on 2014-Aug-29

Title: Problem Audio - OSX
Post by: Kyo on 2014-Aug-29
Other problem in Mac
1) if ISMUSICPLAYING() = TRUE then STOPMUSIC  the music dosn't stop!
2) MUSICVOLUME  don't work!
3) PLAYSOUND(num%, pan#, volume#) with WAV don't work, what format should I use?
Title: Re: Problem Audio - OSX
Post by: MrTAToad on 2014-Aug-29
Mac uses OGG, if I remember correctly.
Title: Re: Problem Audio - OSX
Post by: erico on 2014-Aug-29
The may be also a good chance you can load AIFF in your mac through GLBasic.
Title: Re: Problem Audio - OSX
Post by: Kyo on 2014-Aug-29
For sound OGG, OK, but for Music?
Why MUSICVOLUME and STOPMUSIC don't worK????
Title: Re: Problem Audio - OSX
Post by: erico on 2014-Aug-29
You can treat your music as sounds all fine, what would be the problem?
Title: Re: Problem Audio - OSX
Post by: Kyo on 2014-Aug-29
Quote from: erico on 2014-Aug-29
You can treat your music as sounds all fine, what would be the problem?

I use MP3 for Music but STOPMUSIC andMUSICVOLUME  don't work!
Title: Re: Problem Audio - OSX
Post by: MrTAToad on 2014-Aug-29
Make a post in the Bugs Report forum.
Title: Re: Problem Audio - OSX
Post by: Kyo on 2014-Aug-29
I send a private message to Kitty_Hello, with all bugs ...
I don't know how the landscape mode on iOS  don't work ...
But no peoples compiles for iPhone and have the same bug?
Title: Re: Problem Audio - OSX
Post by: spacefractal on 2014-Aug-30
Landscape is by design about iOS, not a bug and tecnical allways starts in portrait mode. Howover Apple have fixed that issue in ios 8. Checkout SETORIENTATION and GETSCREENSIZE Command to rotate the screen. Pretty sure I'm did a example ealier, but is not on my machine yet before tomorrow.

Music volume on OSX is a confirmed bug. Stop music can been a bug too. That last one can been work around by load a empty music eventuelly.

Music do all works on iOS.
Title: Re: Problem Audio - OSX
Post by: Kyo on 2014-Aug-30
Quote from: spacefractal on 2014-Aug-30
Landscape is by design about iOS, not a bug and tecnical allways starts in portrait mode. Howover Apple have fixed that issue in ios 8. Checkout SETORIENTATION and GETSCREENSIZE Command to rotate the screen. Pretty sure I'm did a example ealier, but is not on my machine yet before tomorrow.

Music volume on OSX is a confirmed bug. Stop music can been a bug too. That last one can been work around by load a empty music eventuelly.

Music do all works on iOS.
Ok i wait tomorrow for the example!
Thanks  :good:
Title: Re: Problem Audio - OSX
Post by: mrplant on 2014-Sep-08
I worked around the STOPMUSIC bug years ago by loading up and playing a blank short sound file. It worked and is still in my code to this day..