nibuen / SpaceAlertMissionGenerator

Mission Generator For Space Alert Board Game On Android
https://blog.iterary.com/
MIT License
15 stars 9 forks source link

Communications down bug #12

Closed nibuen closed 9 years ago

nibuen commented 10 years ago

Communications down bug All missions after the first run through don't properly play the static sound. It does one static burst then remains silent for the entire duration of comms down.

Phone: Motorola RAZR M (smq)

nibuen commented 10 years ago

This was reported today. I have tried reproducing on emulator and device with no luck so far.

tompen commented 10 years ago

Did you get the exakt steps to reproduce the problem? Do the problem occur on all missions after exactly one mission has been played? Which android version was the submittor using?

The mediaplayer does print out warnings in the log. This might indicate a problem that causes a problem on some devices:

08-19 22:39:14.926  24694-24694/com.boarbeard E/MediaPlayer-JNI﹕ QCMediaPlayer mediaplayer NOT present
08-19 22:39:15.056  24694-24694/com.boarbeard E/MediaPlayer﹕ Should have subtitle controller already set
08-19 22:39:21.896  24694-24694/com.boarbeard E/MediaPlayer-JNI﹕ QCMediaPlayer mediaplayer NOT present
08-19 22:39:21.986  24694-24694/com.boarbeard W/MediaPlayer﹕ mediaplayer went away with unhandled events
08-19 22:39:21.986  24694-24694/com.boarbeard E/MediaPlayer﹕ Should have subtitle controller already set
08-19 22:39:28.286  24694-24694/com.boarbeard E/MediaPlayer-JNI﹕ QCMediaPlayer mediaplayer NOT present
08-19 22:39:28.316  24694-24694/com.boarbeard W/MediaPlayer﹕ mediaplayer went away with unhandled events
 
nibuen commented 10 years ago

That looks to be related to issue #13

I don't think has any effect on playing though.

I don't get version as part of comment so can't tell, but could infer from phone type listed above. I am asking for steps/details and will report here if hear back.

P.S. to be clear the defect above comes verbatim from the issue submitted on comment.

tompen commented 10 years ago

The file for white noise is an ogg-file. All other audio files are mp3:s. I think the problem will probably go away if we convert the file to mp3.

On 19 August 2014 22:57, Leif Norcott notifications@github.com wrote:

That looks to be related to issue #13 https://github.com/nibuen/SpaceAlertMissionGenerator/issues/13

I don't think has any effect like so. I don't get version as part of comment so can't tell, but could infer from phone type listed above. I am asking for steps/details and will report here if hear back.

— Reply to this email directly or view it on GitHub https://github.com/nibuen/SpaceAlertMissionGenerator/issues/12#issuecomment-52697716 .

tompen commented 10 years ago

Related question. Is there a reason why the german language pack is not included in the main application? The german language pack could be added to the folder "master/app/src/main/res/raw-de". It would then be automaticly selected on german devices.

German language pack: https://code.google.com/p/space-alert-mission-generator-android-lang/source/browse/#svn%2Fbranches%2Fde%2Fres%2Fraw

On 20 August 2014 11:29, Torbjörn Eklund torbjorn.eklund@gmail.com wrote:

The file for white noise is an ogg-file. All other audio files are mp3:s. I think the problem will probably go away if we convert the file to mp3.

On 19 August 2014 22:57, Leif Norcott notifications@github.com wrote:

That looks to be related to issue #13 https://github.com/nibuen/SpaceAlertMissionGenerator/issues/13

I don't think has any effect like so. I don't get version as part of comment so can't tell, but could infer from phone type listed above. I am asking for steps/details and will report here if hear back.

— Reply to this email directly or view it on GitHub https://github.com/nibuen/SpaceAlertMissionGenerator/issues/12#issuecomment-52697716 .

nibuen commented 10 years ago

Hmm I think it was decided just to keep size down, but seems like that is done for us by android if we go this route?

Please use issue: #14

tompen commented 10 years ago

Thats a good point. The file size would defintely increase. Den 21 aug 2014 17:30 skrev "Leif Norcott" notifications@github.com:

Hmm I think it was decided just to keep size down, but seems like that is done for us by android if we go this route?

— Reply to this email directly or view it on GitHub https://github.com/nibuen/SpaceAlertMissionGenerator/issues/12#issuecomment-52936690 .

nibuen commented 9 years ago

I'm gonna use this to fix the gap that now happens in Android 5.0 with communication down loop (most likely going to SoundPool). Then will see if gets reported again.