With the 2016.12 Android Player my game runs great. After I compile a custom player I get this error on Android studio Console.
W/AudioTrack: dead IAudioTrack, PCM, creating a new one from obtainBuffer() I/ServiceManager: Waiting for service media.audio_flinger... I/ServiceManager: Waiting for service media.audio_flinger... I/ServiceManager: Waiting for service media.audio_flinger... A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x54 in tid 4948 (GLThread 162) Disconnected from the target VM, address: 'localhost:8638', transport: 'socket'
It is certainly a bug, gideros shouldn’t crash that way. Can you post a log with more complete stack trace ? Also there is at least one identified bug in 2018.6: TTfont without character caching make gideros crash
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
I think so too, although I nowadays use listeners only when I have to, and use callbacks for everything else (because callbacks are a lot more efficient).
[core] add a removeAllListeners() call to EventDispatchers (incl. Spites)
Fixes
FBInstant Update getConnectPlayerEntriesAsync to getConnectedPlayerEntriesAsync to match with document and FB Instant sdk Documented "size" parameter to b2.ParticleSystem:setTexture. [core] Fix TTFont crash and TTFont recoloring [core] Fix random crash on exported desktop app [plugins] Make liquidfun a default plugin for Android [core] Include scale factor into outline size
Enhancements [plugin/ogg] Implement setPosition and getLength [player] Add 75% zoom option (Fix #200) Fixes [plugin/camera] Fix selection routine for Android [plugin/ogg] Fix output file name case for html5 [ui] Fix line focusing from output pane click (Fix #327) [desktop] Forward shortcuts to gideros (Fix #382) [desktop] Use VSYNC only if it was explicitly requested [desktop] Properly handle all kind of dialog dismiss (Fix #274) [android] Check audio context validity before attempting to suspend/resume [desktop] Reset mouse button known state on suspend (Fix #347) [player] Fix settings save and iPhone X res tick (Fix #380,#381) [ios] Allow delete key repeating in soft keyboard
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I convert everything to wav/mp3 anyway, because I need to reduce their size as much as possible
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
I convert everything to wav/mp3 anyway, because I need to reduce their size as much as possible
ogg this is a compressed format, wav - uncompressed
I've heard that wav should be used for short sound effects, because it's uncompressed and plays instantly without delay. Mp3 is good only for background music.
Is ogg format instant? Should we use it instead of wav?
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
local myOgg = Sound.new("5.ogg")--short sound, 1sec durationlocalfunction playOgg()
myOgg:play()--it doesn't work for me
Soundchannel=myOgg:play(0,true)--it works, endless loopend
stage:addEventListener(Event.MOUSE_DOWN,playOgg)
> Newcomers roadmap: from where to start learning Gideros "What one programmer can do in one month, two programmers can do in two months." - Fred Brooks “The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
@oleg very strange because I have never not had a gap. Also when using ogg and mp3 I have to use an on complete event to restart the music because it does not restart on some devices without that.
Comments
W/AudioTrack: dead IAudioTrack, PCM, creating a new one from obtainBuffer()
I/ServiceManager: Waiting for service media.audio_flinger...
I/ServiceManager: Waiting for service media.audio_flinger...
I/ServiceManager: Waiting for service media.audio_flinger...
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x54 in tid 4948 (GLThread 162)
Disconnected from the target VM, address: 'localhost:8638', transport: 'socket'
Am I doing something wrong or is there a bug?
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Likes: Apollo14
Likes: hgy29
Fragmenter - animated loop machine and IKONOMIKON - the memory game
(or maybe it wasn't introduced for a reason)
It was mentioned several times earlier on forum
http://giderosmobile.com/forum/discussion/comment/55634/#Comment_55634
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
Likes: Apollo14, antix
Enhancements
[core] add a removeAllListeners() call to EventDispatchers (incl. Spites)
Fixes
FBInstant Update getConnectPlayerEntriesAsync to getConnectedPlayerEntriesAsync to match with document and FB Instant sdk
Documented "size" parameter to b2.ParticleSystem:setTexture.
[core] Fix TTFont crash and TTFont recoloring
[core] Fix random crash on exported desktop app
[plugins] Make liquidfun a default plugin for Android
[core] Include scale factor into outline size
Likes: Apollo14, keszegh, Atavismus, vitalitymobile, SinisterSoft, pie
does it mean that it is turned on by default?
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Likes: oleg, antix
Enhancements
[plugin/ogg] Implement setPosition and getLength
[player] Add 75% zoom option (Fix #200)
Fixes
[plugin/camera] Fix selection routine for Android
[plugin/ogg] Fix output file name case for html5
[ui] Fix line focusing from output pane click (Fix #327)
[desktop] Forward shortcuts to gideros (Fix #382)
[desktop] Use VSYNC only if it was explicitly requested
[desktop] Properly handle all kind of dialog dismiss (Fix #274)
[android] Check audio context validity before attempting to suspend/resume
[desktop] Reset mouse button known state on suspend (Fix #347)
[player] Fix settings save and iPhone X res tick (Fix #380,#381)
[ios] Allow delete key repeating in soft keyboard
http://giderosmobile.com/download
Likes: oleg, Apollo14, NatWobble, Atavismus, totebo, vitalitymobile, simwhi
https://deluxepixel.com
longer sounds work, and short no
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Is ogg format instant? Should we use it instead of wav?
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Using ogg and mp3 for music however is always problematic because there is always a nasty gap in the audio when the tune repeats.
Wav files seem to repeat without any gap but of course an uncompressed Wav file is gigantic compared to an mp3.
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Likes: antix
Fragmenter - animated loop machine and IKONOMIKON - the memory game