Repository navigation
Conversation
… plugin layout (plugin → first channels, rest silent) and process oversized callbacks in period-sized chunks instead of asserting (AUD-2383)
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
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.
요약 (WAVE AUD-2383)
standalone wrapper(cpal 백엔드)의 두 제약을 푼다. 베이스는 제품 공통 union rev
87e30ea1이고cpal.rs는 WAVE pin(1e5e157c)과 동일하므로 어느 라인에도 그대로 적용된다.==→>=: 플러그인 출력 레이아웃보다 채널이 많은 장치를 연다(정확 일치 우선, 그다음 가장 적은 초과 채널, 같은 수면 f32 우선). 출력 콜백이 장치 채널 수로 인터리브하며 플러그인 채널은 앞쪽에, 나머지는 무음. CoreAudio는 장치당 전체 채널 하나의 구성만 보고하므로 이전엔 스테레오 플러그인이 4/8채널 인터페이스를 열 수 없었다.assert!(actual_sample_count <= buffer_size)대신 period 크기 청크로 나눠 처리(transport pos·MIDI·입력 링버퍼도 청크 단위). 실행 중 장치 rate가 바뀌어 CoreAudio가 리샘플하면 블록이 커지는데, 그때 render thread에서 프로세스가 죽던 문제.입력 장치 선택(
==)은 범위 밖(링버퍼가 입력/출력 레이아웃 일치를 전제).검증
cargo check/test -p nih_plug --features standalone: 128 passed, error 0. rustfmt clean.