Skip to contentSkip to conversation

Re: [Re: Configuring the mixer]

Re: Configuring the mixer Nikhil Deo 1 participant 1 message Apr 22, 2004

lore
Share & tools
lore

Nikhil Deo

author
#0 lore raw

no, Alsa is not on qnx, but I would like to know if you had to do this using ALSA how would you do it. Not the exact function calls, but just the general idea, i will then try to put it in use in qnx world.

To quote from the qnx audio developers guide:

"This whole system is referred to as the QNX Sound Architecture (QSA). QSA has a rich heritage and owes a large part of its design to version 0.5.2 of the Advanced Linux Sound Architecture (ALSA), but as both systems continued to develop and expand, direct compatibility between the two was lost. "

A look at
http://www.qnx.com/developers/docs/momentics621_docs/neutrino/audio/summary.html
might explain why I am saying it is quite similar.

If this is very much off-topic, I will understand. But in that case forget that I said QNX and replace it by ALSA. :)

Thanks for your time and the reply.

cheers!

Quoted 102 lines · Me Eby

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 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.

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

Quoted 10 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/?cpg=12297
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
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