test/audio_in: remove env deprecated warning

Issue #2310.
This commit is contained in:
Josef Söntgen 2017-03-07 16:32:58 +01:00 committed by Christian Helmuth
parent fcd39f9bb2
commit f48baa1cf7

View File

@ -110,8 +110,8 @@ class Recording
_audio_in.progress_sigh(_record_progress);
_audio_in.overrun_sigh(_record_overrun);
_audio_out[0] = new (&md_alloc) Audio_out::Connection("front left", true);
_audio_out[1] = new (&md_alloc) Audio_out::Connection("front right", true);
_audio_out[0] = new (&md_alloc) Audio_out::Connection(env, "front left", true);
_audio_out[1] = new (&md_alloc) Audio_out::Connection(env, "front right", true);
_audio_out[0]->start();
_audio_out[1]->start();