freescale 使用WM8962 IC 但接上喇叭後無法由linux畫面上播放音樂到喇叭,而是由HDMI聲道播音,這是為何?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

freescale 使用WM8962 IC 但接上喇叭後無法由linux畫面上播放音樂到喇叭,而是由HDMI聲道播音,這是為何?

Jump to solution
799 Views
陳冠儒
Contributor IV

hi,各位:

小弟今天有個問題想請教大家一下,因為我們設計了一塊板子,使用freescale i.mx6,在WM8962 IC接了喇叭出來當輸出,但我進入linux 3.10.5 QT5畫面後,去用媒體播放器,播放了一個.wav的聲音檔案,但卻是由HDMI發出音樂聲音,而不是由我接的喇叭來發出聲音,所以請教各位是否我需要檢測那些設定或是說我需要做什麼才能正確的由喇叭去發聲音呢?因為我想檢查聲音這塊電路有無問題。故麻煩大家幫忙一下了,感謝大家。

1 Solution
628 Views
jimmychan
NXP TechSupport
NXP TechSupport

so, what is the result "aplay -l" ?

is the wm8962 in the list?

View solution in original post

4 Replies
629 Views
jimmychan
NXP TechSupport
NXP TechSupport

so, what is the result "aplay -l" ?

is the wm8962 in the list?

628 Views
陳冠儒
Contributor IV

hi,jimmychan:

有看到,感謝您的幫忙,

所以我利用了

aplay -D hw:0,0 1.wav          (audio codec)

aplay -D hw:1,0 1.wav          (HDMI audio)

1.wav是我的音樂檔

就可以分別聽到由HDMI播放的聲音與audio codec所播放的聲音,感謝您。

不過這是否表示linux 有預設聲音播放的設定呢?

0 Kudos
628 Views
jimmychan
NXP TechSupport
NXP TechSupport

I tried Ubuntu also. I can see two sound card on the ubuntu's sound configuration. It only allow to select one sound card to output the sound. But if I play the sound using aplay, I can use two sound cards at the same time.

628 Views
陳冠儒
Contributor IV

hi,jimmychan:

原來是這樣阿,ubuntu利用aplay可以聽到2個sound 輸出阿,我是使用QT5但用aplay只能聽到一個聲音,這樣看來是ubuntu支援度比較大嗎還是這本身就有問題了呢?

感謝您的解答,謝謝。

0 Kudos