← Documents Documentation/sound/cards/img-spdif-in.rst GitHub 원문 ↗

Linux 6.18.37 · Sound

Imagination Technologies S/PDIF 입력 컨트롤러

Imagination Technologies S/PDIF 입력 블록의 IEC958 상태 비트, 다중 표본률 획득, 잠금 주파수·지터·임계값 제어를 설명합니다.

Source pathDocumentation/sound/cards/img-spdif-in.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

img-spdif-in.rst:1-53

Imagination Technologies S/PDIF 입력 블록의 IEC958 상태 비트, 다중 표본률 획득, 잠금 주파수·지터·임계값 제어를 설명합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 ================================================
2 Imagination Technologies SPDIF Input Controllers
3 ================================================
4
5 The Imagination Technologies SPDIF Input controller contains the following
6 controls:
7
8 * name='IEC958 Capture Mask',index=0
9
10 This control returns a mask that shows which of the IEC958 status bits
11 can be read using the 'IEC958 Capture Default' control.
12
13 * name='IEC958 Capture Default',index=0
14
15 This control returns the status bits contained within the SPDIF stream that
16 is being received. The 'IEC958 Capture Mask' shows which bits can be read
17 from this control.
18
19 * name='SPDIF In Multi Frequency Acquire',index=0
20 * name='SPDIF In Multi Frequency Acquire',index=1
21 * name='SPDIF In Multi Frequency Acquire',index=2
22 * name='SPDIF In Multi Frequency Acquire',index=3
23
24 This control is used to attempt acquisition of up to four different sample
25 rates. The active rate can be obtained by reading the 'SPDIF In Lock Frequency'
26 control.
27
28 When the value of this control is set to {0,0,0,0}, the rate given to hw_params
29 will determine the single rate the block will capture. Else, the rate given to
30 hw_params will be ignored, and the block will attempt capture for each of the
31 four sample rates set here.
32
33 If less than four rates are required, the same rate can be specified more than
34 once
35
36 * name='SPDIF In Lock Frequency',index=0
37
38 This control returns the active capture rate, or 0 if a lock has not been
39 acquired
40
41 * name='SPDIF In Lock TRK',index=0
42
43 This control is used to modify the locking/jitter rejection characteristics
44 of the block. Larger values increase the locking range, but reduce jitter
45 rejection.
46
47 * name='SPDIF In Lock Acquire Threshold',index=0
48
49 This control is used to change the threshold at which a lock is acquired.
50
51 * name='SPDIF In Lock Release Threshold',index=0
52
53 This control is used to change the threshold at which a lock is released.
54

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

IEC958 상태와 다중 표본률 획득

1-35

Imagination Technologies S/PDIF 입력 컨트롤러는 여러 ALSA 제어를 제공한다. `IEC958 Capture Mask`는 `IEC958 Capture Default`로 읽을 수 있는 IEC958 상태 비트를 표시하는 마스크를 반환한다. `IEC958 Capture Default`는 현재 수신 중인 S/PDIF 스트림의 상태 비트를 반환하며, 읽을 수 있는 비트 범위는 앞의 마스크가 정한다.

인덱스 0~3의 `SPDIF In Multi Frequency Acquire` 네 제어는 최대 네 가지 표본률의 획득을 시도하게 한다. 실제 활성 표본률은 `SPDIF In Lock Frequency`를 읽어 확인한다.

네 값이 `{0,0,0,0}`이면 `hw_params`에 전달된 표본률 하나만 캡처한다. 하나라도 0이 아닌 다중 표본률 구성이면 `hw_params`의 표본률은 무시하고 여기에 지정한 네 표본률을 차례로 시도한다. 네 개보다 적은 표본률만 필요하면 같은 값을 여러 번 지정할 수 있다.

S/PDIF 상태·표본률 제어
제어인덱스기능
IEC958 Capture Mask0읽을 수 있는 IEC958 상태 비트 마스크
IEC958 Capture Default0수신 스트림의 상태 비트
SPDIF In Multi Frequency Acquire0~3최대 네 표본률 획득 시도
네 값 {0,0,0,0}-hw_params의 단일 표본률 사용

상태 비트와 최대 네 표본률 획득에 관여하는 제어다.

================================================
Imagination Technologies SPDIF Input Controllers
================================================

The Imagination Technologies SPDIF Input controller contains the following
controls:

* name='IEC958 Capture Mask',index=0

This control returns a mask that shows which of the IEC958 status bits
can be read using the 'IEC958 Capture Default' control.

* name='IEC958 Capture Default',index=0

This control returns the status bits contained within the SPDIF stream that
is being received. The 'IEC958 Capture Mask' shows which bits can be read
from this control.

* name='SPDIF In Multi Frequency Acquire',index=0
* name='SPDIF In Multi Frequency Acquire',index=1
* name='SPDIF In Multi Frequency Acquire',index=2
* name='SPDIF In Multi Frequency Acquire',index=3

This control is used to attempt acquisition of up to four different sample
rates. The active rate can be obtained by reading the 'SPDIF In Lock Frequency'
control.

When the value of this control is set to {0,0,0,0}, the rate given to hw_params
will determine the single rate the block will capture. Else, the rate given to
hw_params will be ignored, and the block will attempt capture for each of the
four sample rates set here.

If less than four rates are required, the same rate can be specified more than
once

잠금 주파수와 지터 제어

36-53

`SPDIF In Lock Frequency`는 현재 활성 캡처 표본률을 반환하며 아직 잠금을 얻지 못했으면 0을 반환한다.

`SPDIF In Lock TRK`는 블록의 잠금과 지터 제거 특성을 바꾼다. 값을 크게 하면 잠금 범위는 넓어지지만 지터 제거 성능은 낮아진다. `SPDIF In Lock Acquire Threshold`는 잠금을 획득하는 임계값을, `SPDIF In Lock Release Threshold`는 잠금을 해제하는 임계값을 바꾼다.

S/PDIF 잠금 처리
표본률 후보 최대 4개잠금 획득 시도Acquire Threshold 통과Lock Frequency에 활성률 보고
Lock TRK 증가잠금 범위 증가지터 제거 감소
Release Threshold 통과잠금 해제Lock Frequency=0

표본률 후보 탐색에서 활성 캡처율과 잠금 상태를 얻는 흐름이다.

* name='SPDIF In Lock Frequency',index=0

This control returns the active capture rate, or 0 if a lock has not been
acquired

* name='SPDIF In Lock TRK',index=0

This control is used to modify the locking/jitter rejection characteristics
of the block. Larger values increase the locking range, but reduce jitter
rejection.

* name='SPDIF In Lock Acquire Threshold',index=0

This control is used to change the threshold at which a lock is acquired.

* name='SPDIF In Lock Release Threshold',index=0

This control is used to change the threshold at which a lock is released.