Re: [Alsa-user] accessing default pcm from C

2015-04-06 Thread Clemens Ladisch
daggs wrote: daggs wrote: I'm writing a C program that needs to know what is the session's default card and device (either default or the one in ~/.asoundrc), how can retrieve that? The name of the default device is default. not quite what I've asked about but looking at the header

Re: [Alsa-user] accessing default pcm from C

2015-04-06 Thread Clemens Ladisch
daggs wrote: I'm writing a C program that needs to know what is the session's default card and device (either default or the one in ~/.asoundrc), how can retrieve that? The name of the default device is default. Regards, Clemens

Re: [Alsa-user] Differences between alsa on kernel and ongit.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/

2015-04-06 Thread Clemens Ladisch
Bill Unruh wrote: I have run into a difference between the alsa structure on git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/ and in the kernel 4.0 rc6. I thought the kernel included the alsa drivers from sound.git, but with the vastly different structures in the latter, it cannot.

Re: [Alsa-user] accessing default pcm from C

2015-04-06 Thread daggs
Sent: Monday, April 06, 2015 at 2:37 PM From: Clemens Ladisch cladi...@googlemail.com To: daggs da...@gmx.com, alsa-user@lists.sourceforge.net Subject: Re: [Alsa-user] accessing default pcm from C daggs wrote: I'm writing a C program that needs to know what is the session's default