From: Lee Revell <rlrevell@joe-job.com>
To: Sasha Khapyorsky <sashakh@gmail.com>
Cc: David Smoot <davidsmoot@gmail.com>,
James Courtier-Dutton <James@superbug.co.uk>,
alsa-devel@lists.sourceforge.net
Subject: Re: Question: setting up the hardware for alsa
Date: Sat, 05 Nov 2005 19:32:49 -0500 [thread overview]
Message-ID: <1131237169.6781.15.camel@mindpipe> (raw)
In-Reply-To: <20051105233443.GA10745@tecr>
On Sun, 2005-11-06 at 01:34 +0200, Sasha Khapyorsky wrote:
> On 11:33 Fri 04 Nov , David Smoot wrote:
> >
> > I can compile and run the first listing, it just prints out some variables
> > set up by the soundalib. But the second listing that actually calls
> > "snd_pcm_open"
> > fails because it cannot open the default device.
>
> You probably need to copy (create) some minimalistic configuration set
> (such as in alsa-lib/src/conf ) in order to use "default" or "hw" device
> names.
>
Actually you should not have to do this - alsa-lib should open the
file /usr/share/alsa/cards/CA0106.conf which defines the default PCM for
this card.
Try stracing your app and verify that it's trying to open that file.
Lee
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
next prev parent reply other threads:[~2005-11-06 0:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-04 15:49 Question: setting up the hardware for alsa David Smoot
2005-11-04 16:13 ` James Courtier-Dutton
2005-11-04 17:33 ` David Smoot
2005-11-05 23:34 ` Sasha Khapyorsky
2005-11-06 0:32 ` Lee Revell [this message]
2005-11-04 16:14 ` James Courtier-Dutton
2005-11-06 0:45 ` Lee Revell
2005-11-06 17:46 ` David Smoot
2005-11-07 10:26 ` Clemens Ladisch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1131237169.6781.15.camel@mindpipe \
--to=rlrevell@joe-job.com \
--cc=James@superbug.co.uk \
--cc=alsa-devel@lists.sourceforge.net \
--cc=davidsmoot@gmail.com \
--cc=sashakh@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.