Ran Shalit wrote: > On Sun, Jul 5, 2015 at 9:06 PM, Clemens Ladisch wrote: >> Ran Shalit wrote: >>> I would like to ask if dual mono, is used in ALSA APIs, or wether it is the >>> same as stereo. >> >> What exactly do you mean? > > I actually need to do the following: > <analog audio from 2 channels> --> <encode using ALSA into PCM format> --> <encode to AAC> > I know that there is a concept of "dual mono" and concept of stereo when coding the audio format. > But I probably went wrong, and this is NOT related to ALSA encode, but to the AAC encoding. "Dual mono" is indeed an AAC-related concept. When you record multiple channels using ALSA, they are always independent, i.e., ALSA does not make any assumptions about the sample values in the channels (or, for that matter, about consecutive samples in the same channel). In other words, you need not (and cannot) tell ALSA whether the channels are related in any way. Regards, Clemens ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user