Hi all,
I'm trying to get sound to work on an embedded board. The boot says ALSA is present and sound chip is present. So I try to open the device with
if ((snd_pcm_open (&pcm_handle, device_name, SND_PCM_STREAM_PLAYBACK, SND_PCM_NONBLOCK)) < 0)
{
....
The hardware manufacturer assures me the device is hw:0,0 so I set device to
const char *device_name = "hw:0,0";
This gives me
ALSA lib pcm.c 2143
snd_pcm_open_nonupdate) unknown PCM hw:0,0
So I'm presuming the advice that I use hw:0,0 must be wrong? So I need to find a way of working out what the device id is. I've tried default, no effect, then tried the command asoundconf list, which returns an error. I'm using a min linux build on an embedded system (busybox) so is there a way to find my sound device.