I been doing some reading on using the alsa API, however, I cannot find much
information on it. It also look like that the different versions have
different argument for the same API.
For example, the snd_pcm_open( )
some use snd_pcm_open( handle, card, device, stream, mode)
some use
On Sun, Jan 04, 2004 at 09:19:16AM -0800, Alex Lau wrote:
I try to run the minimal playback program from the tutorial found in the
alsa web site,
snd_pcm_t *handle;
char *device = hw:0,0;
Shouldn't the tutorial be using default, if that's what programs that
don't care should be using?
The sample in the tutorial use command line argument, so I try to follow
the sine wave generation code in this url
http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm_8c-example.html
it use
char *device = hw:0,0;
I try to pass the string default to the function, but still get an
On Sun, Jan 04, 2004 at 05:44:38PM -0800, Alex Lau wrote:
I try to pass the string default to the function, but still get an error
-2 (No such file or directory)
Are you sure you've tested an existing ALSA application, to make sure
your installation even works? (That tends to happen if
Are you sure you've tested an existing ALSA application, to make sure
your installation even works? (That tends to happen if /dev/snd/*
doesn't exist.)
Thanks for your help, I think I need to go back and check my alsa
installation. Strange enough though, my xine palyer works fine and I have
hi,
i currently writing a plugin for alsa9 and i'm thinking of various
paramters which could be set and if there are usefull for example does
someone know 'good' values for snd_pcm_sw_params_set_xfer_align(), in the
code samples it varies from 1 to 4, is it also usefull to set it to higher
i currently writing a plugin for alsa9 and i'm thinking of various
paramters which could be set and if there are usefull for example does
someone know 'good' values for snd_pcm_sw_params_set_xfer_align(), in the
code samples it varies from 1 to 4, is it also usefull to set it to higher
values for