protected uint chunk_size;
static AudioDevice TryAlsa (string name) {
+#if XAMMAC_4_5
+ return null;
+#else
AudioDevice dev;
try {
dev = new AlsaDevice (name);
} catch {
return null;
}
+#endif
}
public static AudioDevice CreateDevice (string name) {
}
}
+#if !XAMMAC_4_5
class AlsaDevice: AudioDevice, IDisposable {
IntPtr handle;
IntPtr hw_param;
snd_pcm_drain (handle);
}
}
+#endif
}