From: Ali Gholami Rudi Date: Thu, 21 Feb 2013 13:57:36 +0000 (+0330) Subject: fbff: ignore oss device in pause command when no audio X-Git-Url: https://repo.or.cz/w/fbff.git/commitdiff_plain/57b59a0ab918d7fd6a8dcd837596b08d57466194 fbff: ignore oss device in pause command when no audio --- diff --git a/fbff.c b/fbff.c index 50c135f..f3cf085 100644 --- a/fbff.c +++ b/fbff.c @@ -209,10 +209,10 @@ static void execkey(void) break; case ' ': case 'p': - if (paused) + if (audio && paused) if (oss_open()) break; - if (!paused) + if (audio && !paused) oss_close(); paused = !paused; sync_cur = sync_cnt;