-
Notifications
You must be signed in to change notification settings - Fork 73
修正 audio 模組 AudioQueue 生命週期與緩衝區管理 #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
TwhomeGH
wants to merge
63
commits into
hugeBlack:main
Choose a base branch
from
TwhomeGH:patch-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
添加了isStopping标志来管理音频队列停止。更新了音频缓冲器的内存管理,并改进了回调处理。
此區段原始可能存在內存異常讀取
可能會導致應用崩潰問題
"vmRegionInfo" : "0 is not in any region. Bytes before following region: 4366663680\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 104460000-1044cc000 [ 432K] r-x\/r-x SM=COW \/var\/containers\/Bundle\/Application\/3A882EEF-290C-419B-9D72-85B1D7EB9598\/OpenParsec.app\/OpenParsec",
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":41615},
"vmregioninfo" : "0 is not in any region. Bytes before following region: 4366663680\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REG
⚠️ 待實際調試檢查
工作流測試 手動調試測試生產ipa吧
工作流測試 不使用真機打包
修正用存在的模擬器
Updated variable type for lastbuf and improved comments for clarity.
Modify audio_clear function to return early if queue is not initialized and adjust in_use calculation.
Changed 'release__nightly' input to be optional with a default value of true. Updated condition for 'release__nightly' job to include 'patch-1' branch.
Added FPS setting with selectable options for frame rates.
Added fpsPerFrame variable and loading logic from UserDefaults.
Replaced hardcoded FPS with dynamic setting and added updateFPS method.
Refactor metricInfo construction for better readability and include GLK FPS parameter.
Updated the build timestamp format to include date and time in a more detailed manner.
Added methods to calculate actual and delta FPS.
Removed average FPS logging and updated delta FPS formatting.
Removed commented-out SwiftUI and GLKit code for ParsecGLKViewController.
Owner
|
看你把Metal相关的注释去掉了,你是解决了Metal渲染吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概述
修正 audio 模組中 AudioQueue 緩衝區管理、callback race condition 以及記憶體釋放問題,並改善 Xcode genic/ios 打包可編譯性。
問題
修正
影響
測試