User Tools

Site Tools


ubuntu_spdif

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu_spdif [2009/10/30 14:01] suapapaubuntu_spdif [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 1: Line 1:
 우분투 리눅스 spdif 설정법 우분투 리눅스 spdif 설정법
 <code bash> <code bash>
 +$ aplay -l
 +**** PLAYBACK 하드웨어 장치 목록 ****
 +0 카드: CK804 [NVidia CK804], 0 장치: Intel ICH [NVidia CK804]
 +  하위장치: 1/1
 +  하위장치 #0: subdevice #0
 +0 카드: CK804 [NVidia CK804], 2 장치: Intel ICH - IEC958 [NVidia CK804 - IEC958]
 +  하위장치: 1/1
 +  하위장치 #0: subdevice #0
 +$ aplay -L
 +front:CARD=CK804,DEV=0
 +    NVidia CK804, NVidia CK804
 +    Front speakers
 +    ...
 +iec958:CARD=CK804,DEV=0
 +    NVidia CK804, NVidia CK804 - IEC958
 +    IEC958 (S/PDIF) Digital Audio Output
 +null
 +    Discard all samples (playback) or generate zero samples (capture)
 $ cat /proc/asound/devices $ cat /proc/asound/devices
   2:        : timer   2:        : timer
Line 10: Line 28:
   8: [ 0]   : control   8: [ 0]   : control
 </code> </code>
 +위 정보에서 spdif passthrough 는 hw=0.2(또는 0)라고 판단됨. 다음 명령어로 mplayer 실행
 +
 +DD
 +<code>
 +mplayer -ac hwac3 -ao alsa:device=hw=0.1
 +</code>
 +DTS
 +<code> 
 +mplayer -ac hwdts -ao alsa:device=hw=0.1
 +</code>
 +
   *[[http://alsa.opensrc.org/index.php/DigitalOut|DigitalOut]]   *[[http://alsa.opensrc.org/index.php/DigitalOut|DigitalOut]]
ubuntu_spdif.1256911305.txt.gz · Last modified: 2013/08/03 05:04 (external edit)