update src cpp

added a timer thread for audio file use check