Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-23 Thread PeterMerchant via dorset
One favourite thing to apply the `right-left' rule to when explaining this to people is the standard library's signal(3). :-) void (*signal(int, void (*)(int)))(int); Wow. This sort of thing does my head in. definitely not something for a cursory look at. You need to heave your head

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-23 Thread Ralph Corderoy
Hi Tim, > > > > `const char *p' means p is a pointer to a char that's const. > > Although it's a bit ugly in this case, I prefer to write this as > > char const *p > > Then you can read right to left: > > p is a pointer to a const char. That's true; it saves the "that's" on each

Re: [Dorset] Using Two USB Audio Adaptors and Selecting the Right One Programatically

2018-01-23 Thread tda
Hi Ralph On 22/01/18 14:04, Ralph Corderoy wrote: Hi Terry, `const char *p' means p is a pointer to a char that's const. Although it's a bit ugly in this case, I prefer to write this as char const *p Then you can read right to left: p is a pointer to a const char. This makes life