[linux-audio-dev] Writing PCM to left and right channel sperately?

Paul Davis paul at linuxaudiosystems.com
Thu Mar 9 15:56:49 UTC 2006


On Thu, 2006-03-09 at 16:28 +0100, Tobias Scharnberg wrote:
> Hello List,
> 
> I'm new to audio programming and have problems finding the right
> solutions for the development I work on right now:
> 
> I need to use the left and the right audio channel seperately. The
> device is an ARM based board with a AC97 soundchip. It seems to work
> with OSS so far and I did choose libsdnfile to open Soundfiles and get
> the PCM. As far as I learned the audio data is coded in one stream,
> one sample left, one sample right. Is there a way to separately fill
> the soundcard buffers with ALSA?

many.

> The only solution I can think of right now  is to recode the audio
> data to left only or right only and to use a library like esound to
> mix them together. Is this the right way to do such a thing?

esound is not a library for mixing.

what type of application are you writing?




More information about the Linux-audio-dev mailing list