[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Simple ALSA example

Asked by Frosty555 in C Programming Language, 3D Game Programming, Linux

Hi experts,

ALSA has always been really foggy and confusing to me. Hopefully someone can help me out.

I'm just trying to make a simple program in C that uses ALSA to 1) reads in a mono wav file (44.1khz, 16-bit, mono), then 2) plays it out my desktop stereo speakers in a loop. Finally, 3) the volume is different on the left and right speakers, e.g. 50% on the left speaker, 80% on the right speaker.

For some reason my googling has come up totally dry. Can anyone help me out?
[+][-]11/06/09 12:23 AM, ID: 25757492Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625