diff options
author | Eric Laurent <elaurent@google.com> | 2014-07-09 15:03:28 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-07-11 15:06:09 -0700 |
commit | 1e693b55d888b9d3e0a2ce770ae2b72b59c1a317 (patch) | |
tree | 1f5cf885a43a9f79a6c698cbd286ce4dbf27ee8b /services/audiopolicy/AudioPolicyService.cpp | |
parent | 2db91ae0e6aa33b50cc924ad65d6dc01876d220f (diff) | |
download | frameworks_av-1e693b55d888b9d3e0a2ce770ae2b72b59c1a317.zip frameworks_av-1e693b55d888b9d3e0a2ce770ae2b72b59c1a317.tar.gz frameworks_av-1e693b55d888b9d3e0a2ce770ae2b72b59c1a317.tar.bz2 |
audio policy: add rules to select audio parameters
Added rules to select most appropriate sampling rate, format and
channel mask from an input or output profile.
Moved mFlags from IOProfile to its base class AudioPort.
Removed bogus mChannelMask member in DeviceDescriptor class.
Improveed dump of dynamic parameters in AudioPort.
Change-Id: Ic09d320386002a8bafee4a28db00b1001a386678
Diffstat (limited to 'services/audiopolicy/AudioPolicyService.cpp')
-rwxr-xr-x | services/audiopolicy/AudioPolicyService.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audiopolicy/AudioPolicyService.cpp b/services/audiopolicy/AudioPolicyService.cpp index 9435797..ae9cc35 100755 --- a/services/audiopolicy/AudioPolicyService.cpp +++ b/services/audiopolicy/AudioPolicyService.cpp @@ -841,8 +841,8 @@ void AudioPolicyService::AudioCommandThread::insertCommand_l(sp<AudioCommand>& c } // insert command at the right place according to its time stamp - ALOGV("inserting command: %d at index %d, num commands %d", - command->mCommand, (int)i+1, mAudioCommands.size()); + ALOGV("inserting command: %d at index %zd, num commands %zu", + command->mCommand, i+1, mAudioCommands.size()); mAudioCommands.insertAt(command, i + 1); } |