PSA: Removing id parameter in ADM factory method

61 views
Skip to first unread message

Henrik Andreasson

unread,
Nov 14, 2017, 5:05:32 AM11/14/17
to discuss-webrtc
I have recently landed 22480 which changes the signature of the ADM factory method by
removing an unused id parameter.

// NEW
static rtc::scoped_refptr<AudioDeviceModule> Create(const AudioLayer audio_layer);

// OLD (deprecated)
static rtc::scoped_refptr<AudioDeviceModule> Create(const int32_t idconst AudioLayer audio_layer);

The old signature is still present to give clients some time to phase out the old signature.

I plan to remove the old version within two weeks.
Reply all
Reply to author
Forward
0 new messages