Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling the use of the line input 2 in the driver software? #2

Closed
RinusW opened this issue Apr 17, 2019 · 1 comment
Closed

Enabling the use of the line input 2 in the driver software? #2

RinusW opened this issue Apr 17, 2019 · 1 comment

Comments

@RinusW
Copy link

RinusW commented Apr 17, 2019

Hi,
I was wondering of it would be possible to enable the use of the line input 2 (LINPUT2, RINPUT2) in the driver software? I could imagine that you then have 2 subdevices 0 and 1 in such a way that
sudo arecord -D hw1,0 is using the mics, and sudo arecord hw1,1 is using the line input. Or the driver implements 2 devices: 1,0 is the mics, and 2,0 is the line input.

Although I am able to program in C, I could not find a way to do this in your code. Could it be done? An maybe someone already did it?
This could make your Audio_HAT a much more attractive replacement for the discontinued Wolfson/Cirrus Logic Audio Card.

Regards, Rinus

@hnwangkg-ezio
Copy link

you can use system("sudo arecord -D hw1,0") in c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants