Jean-Michel Trivi
c4938a960f
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.
Description
No description provided
Languages
C++
90.2%
Objective-C
4.6%
C
2.8%
Makefile
2.4%