> -----Original Message-----
> From: Maxim Moldenhauer [mailto:[EMAIL PROTECTED]]
> 
...
> certain point in the city. I have it working, but while the 
> audio is playing, 
> the user can't really do anything else. All the processing is 
...
> don't know if that well help or not. I also tried using 
> fork() to create a 
> child process, but that didn't help. Any ideas? I have a 

  the fork should definitely help, are you sure you are doing that
correctly? Aren't you waiting for child or something like that? should be
something like this:

  pid = fork();

  if(pid==0) { /* this is kid */
    doAudioStuff();
    exit(0);
  }
  /* parent */
  ...
  possibly check the status of kid...

  the other option is to use threads (on linux there's not much difference
(performance wise) between thread and forking another process)

        erik

Reply via email to