Change AudioRecordingConfiguration constructor parameter order
Switch the device and client AudioFormat parameters in the AudioRecordingConfiguration constructor, so it's the same order as the rest of the code involved in sending a callback when the recording configuration changes. Bug 30282058 Change-Id: Iea417f02dcb644e3d4dacbc0e44ea4b2eac28840
This commit is contained in:
@@ -57,12 +57,12 @@ public final class AudioRecordingConfiguration implements Parcelable {
|
||||
/**
|
||||
* @hide
|
||||
*/
|
||||
public AudioRecordingConfiguration(int session, int source, AudioFormat devFormat,
|
||||
AudioFormat clientFormat, int patchHandle) {
|
||||
public AudioRecordingConfiguration(int session, int source, AudioFormat clientFormat,
|
||||
AudioFormat devFormat, int patchHandle) {
|
||||
mSessionId = session;
|
||||
mClientSource = source;
|
||||
mDeviceFormat = devFormat;
|
||||
mClientFormat = clientFormat;
|
||||
mDeviceFormat = devFormat;
|
||||
mPatchHandle = patchHandle;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user