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

From: Paul Davis <paul@email-addr-hidden>
Date: Thu Mar 09 2006 - 17:56:49 EET

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?
Received on Thu Mar 9 20:15:05 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 09 2006 - 20:15:05 EET