Commit 5003385d authored by Simon Morlat's avatar Simon Morlat
Browse files

set default value for prefered_sample_rate on iOS card

parent 214f82f8
......@@ -232,6 +232,7 @@ static void au_init(MSSndCard *card){
d->rate=0; /*not set*/
d->nchannels=1;
d->ms_snd_card=card;
card->preferred_sample_rate=44100;
card->capabilities|=MS_SND_CARD_CAP_BUILTIN_ECHO_CANCELLER;
ms_mutex_init(&d->mutex,NULL);
AudioSessionInitialize(NULL, NULL, au_interruption_listener, d);
......
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