> Sent: Monday, April 06, 2015 at 2:37 PM > From: "Clemens Ladisch" <cladisch@xxxxxxxxxxxxxx> > To: daggs <daggs@xxxxxxx>, alsa-user@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: accessing default pcm from C > > 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 not quite what I've asked about but looking at the header fiels alsa lib has, I see in /usr/include/alsa/conf.h a func called: snd_config_load. am I right in assuming that if I call it, I'll have the session's card and device in the config struct? even if it is default? ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user