Reduce mixer and Bluetooth buffers from 500 ms to 200 ms
SBC medium, not the larger buffer, removed the headphone relay dropouts, so cut dmix, bluealsa-aplay and alsaloop buffers to 200 ms and the Shairport backend buffer to 0.15 s. Verified by listening (iPhone -> headphones, with AirPlay mixed in) with no RTP loss or underruns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+11
-1
@@ -55,13 +55,23 @@ SBC 품질 변경으로 컨트롤러 오류가 해결됐다고 보지는 않습
|
||||
로그에서 `Missing RTP packets`, underrun/overrun, HCI 시간 초과는 없었습니다.
|
||||
따라서 SBC medium + 500 ms 버퍼 조합으로 끊김이 해소된 것으로 판단합니다.
|
||||
장시간 재생 안정성은 아직 확인하지 않았습니다.
|
||||
|
||||
### 지연 축소
|
||||
|
||||
500 ms 버퍼는 끊김 해결에 기여하지 않았으므로 지연을 줄였습니다.
|
||||
1단계로 헤드폰 송신(`alsaloop -t`)을 200 ms로 줄여 사용자가 끊김 없음을 확인했습니다.
|
||||
2단계로 dmix 버퍼 500 → 200 ms, `bluealsa-aplay --pcm-buffer-time` 500 → 200 ms,
|
||||
Shairport 출력 버퍼 0.5 → 0.15 s로 줄였습니다. iPhone Bluetooth → 보스 청취에서
|
||||
사용자가 끊김 없음을 확인했고, `Missing RTP packets`·underrun은 0건이었습니다.
|
||||
같은 구간의 AirPlay 동시 재생 통계에서도 Missing/Late 프레임은 0이었습니다.
|
||||
경로 전체 지연은 측정하지 않았으며, 버퍼 합계 기준 약 0.6 s 줄었습니다.
|
||||
이미 영구 등록된 휴대폰 등록은 재부팅 후 유지됐습니다.
|
||||
|
||||
## 실제 청취로 확인한 범위
|
||||
|
||||
사용자가 AirPlay 재생, AirPlay + 아이폰 Bluetooth 입력의 DAC 믹스 재생을
|
||||
정상 청취했다고 확인했습니다. iPhone Bluetooth 입력 → 보스 헤드폰 출력도
|
||||
SBC medium / 500 ms 버퍼 설정에서 끊김 없이 청취했다고 확인했습니다.
|
||||
SBC medium / 200 ms 버퍼 설정에서 끊김 없이 청취했다고 확인했습니다.
|
||||
|
||||
## 아직 검증하지 않은 범위
|
||||
|
||||
|
||||
Reference in New Issue
Block a user