diff --git a/src/backends/av_foundation.rs b/src/backends/av_foundation.rs index cf657e1..2b1184a 100644 --- a/src/backends/av_foundation.rs +++ b/src/backends/av_foundation.rs @@ -304,8 +304,8 @@ impl Backend for AvFoundation { let name: CFString = unsafe { msg_send![*v as *const Object, name] }; let gender: i64 = unsafe { msg_send![*v as *const Object, gender] }; let gender = match gender { - 0 => Some(Gender::Male), - 1 => Some(Gender::Female), + 1 => Some(Gender::Male), + 2 => Some(Gender::Female), _ => None, }; let language: CFString = unsafe { msg_send![*v as *const Object, language] };