Commit 99451723 authored by Simon Morlat's avatar Simon Morlat

set min latency for mac

parent 79164c85
......@@ -200,6 +200,9 @@ static MSSndCard *ca_card_new(const char *name, const char * uidname, AudioDevic
d->uidname = ms_strdup(uidname);
card->name = ms_strdup_printf("%s (%s)", name, uidname); /*include uid so that names are uniques*/
card->capabilities = cap;
if (cap & MS_SND_CARD_CAP_CAPTURE){
card->latency = 70; /* Sound card latency seems always not least than 70ms on mac*/
}
slen = sizeof(format);
d->rate=44100;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment