Continulusly recording audio in fixed size buffer

They called it ring buffer. Unlikely you can store 6 sec. of decent quality audio - not enough memory. What you have?