Configuring the mixer
Ok. This is my first attempt at configuring the mixer to get something done. My two problems are: It is to be done on QNX and nobody seems to be listening on the QNX ngs. Since the concepts seem to be the same, I am hoping someone here would be able to point me in the right direction.
What I want to do:
I need to capture input from the mic AND the line in. Then I need to output the mic input on the Right-LineOut and leftLineIn on leftLineOut. (right line in can be ignored)
I have been playing with the samples on the qnx site and was able to do the follwing:
1. Play a wav file on the line-out
2. running the code for wave record
in 1, I understood the concept of mixer group, found out that the best group for me was the PCM-Playback and then could modify the mute bits to mute the left and right channels simultaneously. The JOINT_MUTE in caps was set and so I believe I cannot mute the left and right (front) separately ( I tried changing it, could change the bit in caps but still could not mute the channels separately)
in 2, my mixer group was input gain and although it seemed to be recording something, I could not figure out what it was. How do I make it take the input from mic in only?
So I would really appreciate if anyone can give me a brief strategy on how to proceed.
I might ask more questions and will be glad to clarify anything that is not clear in this post.
Thanks a lot for your time. I am beginning to creep into frustration mode. Answers need not be qnx specific, I have a feeling that I will be able to apply the logic. Also, pointers to any documentation on the web for a beginner like me are also welcome.
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
I was not aware that ALSA was available on QNX. QNX is not Linux. Good luck with QNX support for anyithing. We dropped them like a hot potatoe years ago.
If ALSA is on QNX, you need to tell us what
applications your are using.
Markeby
Quoted 52 lines · --- Nikhil Deo
Ok. This is my first attempt at configuring the
mixer to get something done.
My two problems are: It is to be done on QNX and
nobody seems to be listening
on the QNX ngs. Since the concepts seem to be the
same, I am hoping someone
here would be able to point me in the right
direction.What I want to do:
I need to capture input from the mic AND the line in. Then I need to output
the mic input on the Right-LineOut and leftLineIn on leftLineOut. (right line
in can be ignored)I have been playing with the samples on the qnx site and was able to do the
follwing:1. Play a wav file on the line-out
2. running the code for wave recordin 1, I understood the concept of mixer group, found out that the best group
for me was the PCM-Playback and then could modify the mute bits to mute the
left and right channels simultaneously. TheJOINT_MUTEin caps was set and so
I believe I cannot mute the left and right (front) separately ( I tried
changing it, could change the bit in caps but still could not mute the
channels separately)in 2, my mixer group was input gain and although it seemed to be recording
something, I could not figure out what it was. How do I make it take the input
from mic in only?So I would really appreciate if anyone can give me a brief strategy on how to
proceed.I might ask more questions and will be glad to
clarify anything that is not
clear in this post.
Quoted 14 lines
Thanks a lot for your time. I am beginning to creep into frustration mode.
Answers need not be qnx specific, I have a feeling that I will be able to
apply the logic. Also, pointers to any documentation on the web for a beginner
like me are also welcome.
-------------------------------------------------------
Quoted 11 lines
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
Quoted 1 line · Nikhil Deo
It is to be done on QNX
By now, QNX's API is completely different.
Quoted 1 line
I need to capture input from the mic AND the line in.
This will work only if your hardware supports this. Many sound cards can select exactly one input for recording.
Quoted 2 lines
Then I need to output the mic input on the Right-LineOut and leftLineIn on leftLineOut. (right line in can be ignored)
This is easy once you have captured the data.
Another possibility would be to configure the mixer to route the inputs as you want them. Again, this is dependent on the capabilities of your hardware/drivers.
Quoted 3 lines
in 2, my mixer group was input gain and although it seemed to be recording something, I could not figure out what it was. How do I make it take the input from mic in only?
In ALSA, most cards have a mixer control "Capture Source" which allows to select between several input. Some cards have "Capture Volume" controls for each input and mix all together.
HTH
Clemens
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297