record: avoid calls to undefined vars in case of invalid audio settings:

Signed-off-by: Meg Ford <meg@localhost.localdomain>