diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/simplertp.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/simplertp.cc b/src/simplertp.cc index 7a56fb3..ef71192 100644 --- a/src/simplertp.cc +++ b/src/simplertp.cc @@ -27,11 +27,18 @@ #include <QApplication> #include <QSettings> +#include <stdlib.h> #include "mainwindow.h" int main(int argc, char *argv[]) { + int pulse = system("pidof pulseaudio &> /dev/null"); + if(pulse == 0) { + printf("Pulse audio is running - simplertp wont work...\n"); + return 1; + } + QApplication app(argc, argv); if(argc < 2) { |