Make sure to include audiohw.h in settings.h or the definition of struct user_setting...