From 783aafff32c7e02727e73d86918fa524dfc76e22 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Fri, 4 Jul 2008 03:53:15 +0000 Subject: many bug fixes. sigmund~ and bonk~ updates (ongoing) some new math objects svn path=/trunk/; revision=10140 --- pd/src/s_audio.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'pd/src/s_audio.c') diff --git a/pd/src/s_audio.c b/pd/src/s_audio.c index f56ac0d6..9f4e2051 100644 --- a/pd/src/s_audio.c +++ b/pd/src/s_audio.c @@ -192,10 +192,6 @@ void sys_set_audio_settings(int naudioindev, int *audioindev, int nchindev, int indevs = 0, outdevs = 0, canmulti = 0, cancallback = 0; audio_getdevs(indevlist, &indevs, outdevlist, &outdevs, &canmulti, &cancallback, MAXNDEV, DEVDESCSIZE); - if (sys_externalschedlib) - { - return; - } if (rate < 1) rate = DEFAULTSRATE; @@ -426,7 +422,9 @@ void sys_reopen_audio( void) chindev, naudiooutdev, audiooutdev, naudiooutdev, choutdev, rate); else #endif - post("unknown audio API specified"); + if (sys_audioapi == API_NONE) + ; + else post("unknown audio API specified"); if (outcome) /* failed */ { audio_state = 0; -- cgit v1.2.1