HI,
my self i am Vijay from India,I want small help regarding Audio codec drivers.we are using WM8960 audio codec for my project.we took reference of sabresd board(which contain wm8962 audio codec),we are using wm8960.c(Codec drivers) & imx-wm8960.c(platform drivers) SO my doubt is how i can know whether audio codec is detected or not?i followed attached BSP document.
I found that under /sys/asound/wm8962 is the driver for audio codec in sabresd file system. Is this method is correct or not?how can i switch Left input audio1 to left input audio2 from application's user space?which type of frame work i ave to use whether ALSA or TINYALSA?
pls give me some information on this, I am expecting positive answer from you.
Mail.ID: vijay.jay5@gmail.com
解決済! 解決策の投稿を見る。
Hi Vijay
you can check codec detection with aplay -l, it shows
registered sound cards. Channels can be selected using
amixer, please check sect.23.5.2 7.1 Audio Codec Unit Test
attached Linux Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadykov,
Thanks for your reply.As per your reply i can't get any attached Linux Manual. Pls can you share the Linux manual which contains "sect.23.5.2 7.1 Audio Codec Unit Test"
Hi ,
I want small info.I took sabresd reference, Audio COdec working fine( I can able to record & Listen audio),As per imx-wm8960(Machine drivers) routed Audio Codec(WM8960) to MIC(input1 ADC to store audio in Process) & Head_phone(Processor's DAC to output channel).
But As per my requirements i need to play Auxillory audio stream which connected to 2nd input channel & FM in 3rd input channel(Like below pic).
So how i can route it in imx-wm8960.c file like below.
{ "Headphone Jack", NULL, "HP_L" },
{ "Headphone Jack", NULL, "HP_R" },
{ "Speaker_L", NULL, "SPK_LP" },
{ "Speaker_L", NULL, "SPK_LN" },
{ "Speaker_R", NULL, "SPK_RP" },
{ "Speaker_R", NULL, "SPK_RN" },
{ "LINPUT1", NULL, "MICB" },
{ "MICB", NULL, "Mic Jack" },
// { "LINPUT3", "LINPUT3 Switch", "HP_L" },
// { "RINPUT3", "RINPUT3 Switch", "HP_R" },
}
I am waiting for your reply. Thank you.
Hi Vijay
attachment is on post from 20.01.2016 0:36, click mouse on red.
~igor
Very very thanks, It's so worthy for me.
On Thu, Jan 21, 2016 at 11:31 AM, igorpadykov <admin@community.freescale.com
Hi Vijay
you can check codec detection with aplay -l, it shows
registered sound cards. Channels can be selected using
amixer, please check sect.23.5.2 7.1 Audio Codec Unit Test
attached Linux Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadykov,
Thanks for your reply.As per your reply i can't get any attached Linux Manual. Pls can you share the Linux manual which contains "sect.23.5.2 7.1 Audio Codec Unit Test"