From c4938a960f1c1941d43601bcc5d010c2e1291499 Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Mon, 8 Feb 2010 14:19:46 -0800 Subject: [PATCH] Fix A1026 configuration bugs - in doAudience_A1026_Control(): if setting a new path ID on the A1026 has failed several times, the A1026 will be reset by a call to doA1026_init(). However after a reset, the file descriptor for the A1026 configuration will be invalid (-1), so the device needs to be reopened for the configuration to be successfully reapplied after a reset. - in setParameters(): after setting the noise suppression param, the A1026 file descriptor is closed, and needs to be reset to a negative value, as this is used in other places in the code to indicate it's closed.