fixed typo with frames/samples confusion.