Changed audio buffer/period initialization