Hi,
I am using TLV320AIC3106 as a sound card for my BeagleBone Black.It is interfaced via I2S with Beaglebone black.
The LINE1LP , LINE1RP, LINE 2LP, LINE2RP are connected to different audio signals(single ended).I am able to
record from these lines separately using 'arecord' command in beaglebone black.For eg :- if I need to record(mono)
from LINE1LP line ,First I set the right and left PGA Mixer using amixer command as follows,
amixer sset 'Left PGA Mixer Line1L' on
amixer sset 'Left PGA Mixer Line2L' off"
amixer sset 'Left PGA Mixer Line1R' off"
amixer sset 'Right PGA Mixer Line1R' off"
amixer sset 'Right PGA Mixer Line1L' off"
amixer sset 'Right PGA Mixer Line2R' off"
after setting these i issue arecord command like 'arecord test.wav'.It records successfully from the LINE1LP.
What should I do If i want to record Simultaneously from these four lines(mono)?How can I do this?Can you please
provide my reference to this?
----------------------------------------------------------------------------------------------------------
my 'arecord -l' returns,
**** List of CAPTURE Hardware Devices ****
card 0: EVM [DA830 EVM], device 0: AIC3X tlv320aic3x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
----------------------------------------------------------------------------------------------------------
The sound node from BB-BONE-AUDI-01-00A0.dts is given below,
fragment@4 {
target = <&ocp>;
__overlay__ {
sound {
compatible = "ti,da830-evm-audio";
ti,model = "DA830 EVM";
ti,audio-codec = <&tlv320aic3x>;
ti,mcasp-controller = <&mcasp0>;
ti,codec-clock-rate = <12000000>;
ti,audio-routing =
"Headphone Jack", "HPLOUT",
"Headphone Jack", "HPROUT",
"LINE1L", "Line In",
"LINE1R", "Line In",
"LINE2L", "Line In",
"LINE2R", "Line In";
};
};
};
-------------------------------------------------------------------------------------------------------------------------------------------------------
Best Regards,
Nizar