Re: [pulseaudio-discuss] pa_simple_new function - Failed to load cookie file from cookie: Not a directory

2023-08-22 Thread Sean Greenslade
On Fri, Aug 18, 2023 at 09:05:12AM +0200, Björn Försterling wrote: > Hi Sean, > > thank you very much for the reply. > > I figured out my mistake. > I actually modified the HOME environment variable in my program > by using the pointer that was returned by the getenv() function. > (which is not

Re: [pulseaudio-discuss] pa_simple_new function - Failed to load cookie file from cookie: Not a directory

2023-08-18 Thread Björn Försterling
Hi Sean, thank you very much for the reply. I figured out my mistake. I actually modified the HOME environment variable in my program by using the pointer that was returned by the getenv() function. (which is not a pointer to a copy of the string but to the actual env var...) I wonder why

Re: [pulseaudio-discuss] pa_simple_new function - Failed to load cookie file from cookie: Not a directory

2023-08-18 Thread Sean Greenslade
On Wed, Aug 16, 2023 at 05:08:25PM +0200, Björn Försterling wrote: > Hello everyone, > > I am using the pulse audio simple API in a C program and I am getting the > following error message when using the "pa_simple_new" function: > > 28simple = pa_simple_new(NULL, "Audio Playback",

[pulseaudio-discuss] pa_simple_new function - Failed to load cookie file from cookie: Not a directory

2023-08-16 Thread Björn Försterling
Hello everyone, I am using the pulse audio simple API in a C program and I am getting the following error message when using the "pa_simple_new" function: 28 simple = pa_simple_new(NULL, "Audio Playback", PA_STREAM_PLAYBACK, NULL, "playback", , NULL, NULL, _error); (gdb) [New Thread