The app's bgm plays in the background.
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- game-dev, mobile-dev
調査の方向性
まず Android 10 で FlameAudio.bgm.initialize() と play() のシーケンスを再現し、次にアラームを解除したときに関係するアプリの一時停止と再開の処理を追跡します。影響を受ける環境で、説明されているホームボタンとアラームのシーケンスの後も BGM が停止したままになることを確認できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Current bug behavior
There is a problem with the bgm of the app in the background playing in certain situations. If this is a bug, quick action is needed.
Expected behavior
FlameAudio.bgm.initialize();
FlameAudio.bgm.play('adventure-track.mp3');
BGM in the background should not be played.
Steps to reproduce
Specific situations found to be reproducible
SM-N960N, in Android 10 environment
- Pause the game app, including BGM, with the home button.
- Run the built-in alarm app and set the timer to 1 second to sound the alarm.
- When you press the alarm release button, the bgm of the game plays.
Flutter doctor output
[√] Flutter (Channel master, 3.14.0-14.0.pre.309, on Microsoft Windows [Version 10.0.19045.3693], locale ko-KR)
• Flutter version 3.14.0-14.0.pre.309 on channel master at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 0b540a87f1 (3 months ago), 2023-09-15 13:39:30 +0900
• Engine revision 45bc4307cd
• Dart version 3.2.0 (build 3.2.0-162.0.dev)
• DevTools version 2.28.0-dev.0
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at C:\Users\AppData\Local\Android\sdk
• Platform android-33, build-tools 33.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.3.6)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.3.32929.385
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2022.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
[√] VS Code, 64-bit edition (version 1.84.2)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.78.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.3693]
• Chrome (web) • chrome • web-javascript • Google Chrome 119.0.6045.200
• Edge (web) • edge • web-javascript • Microsoft Edge 119.0.2151.97
[√] Network resources
• All expected network resources are available.
• No issues found!
More environment information
- Flame version: 1.11.0
- Flame audio version: 2.1.4
- Platform affected: android
- Platform version affected: android 10
- Phone: SM-N960N
More information
Currently, BGM development is halted due to this issue. Wouldn't this problem occur if I play with normal play instead of bgm? The complexity of implementation increases.
- 主要言語
- Dart
- スター
- 10.8k
- フォーク
- 1.1k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 61
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
flame-engine/flame のほかの issue
-
Timer with tickCount stays finished after start() or reset()対応中かも @matthewalberto が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
flame-engine/flame#4240 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
`CameraComponent.follow` follows the local position of a nested target対応中かも @ufrshubham が 1 日前に担当しました。 オープンbug
flame-engine/flame#4238 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
`ComponentPool` returns components to the pool while they are still in use, and loses components removed before mounting対応中かも @ufrshubham が 18 日前に担当しました。 オープンbug
flame-engine/flame#4191 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Move the flame_studio debugging features to flame_devtools対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
flame-engine/flame#4176 ·
メンテナーはふだん 1 日以内に返信
-
discussion enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
flame-engine/flame#4175 ·
メンテナーはふだん 1 日以内に返信
flame-engine/flame の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
spotiflacapp/SpotiFLAC-Mobile#935 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
chriskelly/wish-together#193 ·
メンテナーはふだん 1 日以内に返信
-
area: player feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100