Use enums instead of values

Patch by Jano Svitok <jan.svitok@gmail.com>

git-svn-id: svn+ssh://ffado.org/ffado/trunk@2356 2be59082-3212-0410-8809-b0798e1608f0