All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting gain/volume of PCM capture or playback
@ 2009-06-06  2:22 erumusele Odigie
  2009-06-08 13:59 ` Fausto Carvalho Marques SIlva
  0 siblings, 1 reply; 4+ messages in thread
From: erumusele Odigie @ 2009-06-06  2:22 UTC (permalink / raw)
  To: alsa-devel

Hi,

I am new to programming with ALSA, and I would like to find out how to
change the gain (capture or playback) for my PCM device in my C code.

I am aware I am supposed to use the mixer API, possibly functions like:
snd_mixer_selem_set_playback_volume()

but I don't know how this function can be connected to my PCM
structure/device.

Please whoever answers this should kindly attach some sample code, or a link
to sample code because I can't find any on line.

Thanks a lot.

Erumusele

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-09  8:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-06  2:22 Setting gain/volume of PCM capture or playback erumusele Odigie
2009-06-08 13:59 ` Fausto Carvalho Marques SIlva
2009-06-09  7:55   ` erumusele Odigie
2009-06-09  8:12   ` erumusele Odigie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.