From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: Re: Question: setting up the hardware for alsa Date: Sat, 05 Nov 2005 19:32:49 -0500 Message-ID: <1131237169.6781.15.camel@mindpipe> References: <436B88BE.1090106@superbug.co.uk> <20051105233443.GA10745@tecr> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20051105233443.GA10745@tecr> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Sasha Khapyorsky Cc: David Smoot , James Courtier-Dutton , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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