728x90
반응형
10.6 Audio
10.6.1 Advanced Linux Sound Architecture (ALSA) System on a Chip (ASoC) Sound
10.6.1.1 Test Name
- mxc_tuner_test.out
10.6.1.1.1 Location
/unit_tests/ALSA/
10.6.1.1.2 Functionality
ALSA를 사용하여 오디오 기능 테스트.
10.6.1.1.3 Configuration
ALSA는 aplay, arecord와 speaker-test의 테스트를 위해 모든 i.MX에서 지원된다. 이 tuner 테스트를 사용하려면, i.MX 6 자동 레퍼런스 보드에서만 사용할 수 있는 tuner 하드웨어가 필요하다.
10.6.1.1.4 Use Case and Expected Output
10.6.2 Asynchronous Sample Rate Converter (ASRC)
10.6.2.1 Test Name
- mxc_asrc_test.out
10.6.2.1.1 Location
/unit_tests/ASRC
10.6.2.1.2 Functionality
WAV를 다른 샘플 레이트로 변환.
10.6.2.1.3 Configuration
None
10.6.2.1.4 Use Case and Expected Output
#/unit_tests/ASRC/mxc_asrc_test.out -to 48000 /unit_tests/ASRC/audio8k16S.wav
audio48k16S.wav
---- Running < /unit_tests/ASRC/mxc_asrc_test.out > test ----
Pair A requested
All tests passed with success
mxc_asrc_test.out에 대한 더 많은 사용법은 다음 명령으로 얻을 수 있다:
#/unit_tests/ASRC/mxc_asrc_test.out -h
---- Running < /unit_tests/ASRC/mxc_asrc_test.out > test ----
**************************************************
* Test aplication for ASRC
* Options :
-to <output sample rate> <origin.wav$gt; <converted.wav>
<input clock source> <output clock source>
input clock source types are:
0 -- INCLK_NONE
1 -- INCLK_ESAI_RX
2 -- INCLK_SSI1_RX
3 -- INCLK_SSI2_RX
4 -- INCLK_SPDIF_RX
5 -- INCLK_MLB_CLK
6 -- INCLK_ESAI_TX
7 -- INCLK_SSI1_TX
8 -- INCLK_SSI2_TX
9 -- INCLK_SPDIF_TX
10 -- INCLK_ASRCK1_CLK
default option for output clock source is 0
output clock source types are:
0 -- OUTCLK_NONE
1 -- OUTCLK_ESAI_TX
2 -- OUTCLK_SSI1_TX
3 -- OUTCLK_SSI2_TX
4 -- OUTCLK_SPDIF_TX
5 -- OUTCLK_MLB_CLK
6 -- OUTCLK_ESAI_RX
7 -- OUTCLK_SSI1_RX
8 -- OUTCLK_SSI2_RX
9 -- OUTCLK_SPDIF_RX
10 -- OUTCLK_ASRCK1_CLK
default option for output clock source is 10
**************************************************
728x90
반응형
'NXP i.MX SoC Family > i.MX Linux Reference Manual' 카테고리의 다른 글
i.MX Linux Reference Manual (IMXLXRM) (0) | 2022.10.21 |
---|---|
i.MX Linux Reference Manual - Unit Tests - Security (0) | 2022.09.02 |
i.MX Linux Reference Manual - Unit Tests - Video (0) | 2022.09.01 |
i.MX Linux Reference Manual - Unit Tests - Graphics (0) | 2022.09.01 |
i.MX Linux Reference Manual - Unit Tests - Connectivity (0) | 2022.09.01 |