diff options
author | Glenn Kasten <gkasten@google.com> | 2014-12-30 08:32:04 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-12-30 08:32:04 -0800 |
commit | 6b6f19d0a82f14748888d9860bba5af1f5830206 (patch) | |
tree | 411046c49605b52ad26959e61b631e9baaf20429 | |
parent | 376f182c3d55a8d266eb3b2328b3faced65b0a50 (diff) | |
download | hardware_libhardware-6b6f19d0a82f14748888d9860bba5af1f5830206.zip hardware_libhardware-6b6f19d0a82f14748888d9860bba5af1f5830206.tar.gz hardware_libhardware-6b6f19d0a82f14748888d9860bba5af1f5830206.tar.bz2 |
Line length 100
Change-Id: Iaef5bcaec19a9e383432c8c8460bcdf1115f1072
-rw-r--r-- | include/hardware/audio_effect.h | 18 | ||||
-rw-r--r-- | modules/usbaudio/alsa_device_profile.c | 3 |
2 files changed, 12 insertions, 9 deletions
diff --git a/include/hardware/audio_effect.h b/include/hardware/audio_effect.h index ee48e4c..41cd2e6 100644 --- a/include/hardware/audio_effect.h +++ b/include/hardware/audio_effect.h @@ -344,9 +344,10 @@ struct effect_interface_s { // Output: // returned value: 0 successful operation // -EINVAL invalid interface handle or - // invalid command/reply size or format according to command code - // The return code should be restricted to indicate problems related to the this - // API specification. Status related to the execution of a particular command should be + // invalid command/reply size or format according to + // command code + // The return code should be restricted to indicate problems related to this API + // specification. Status related to the execution of a particular command should be // indicated as part of the reply field. // // *pReplyData updated with command response @@ -937,11 +938,12 @@ typedef struct audio_effect_library_s { // // Input: // uuid: pointer to the effect uuid. - // sessionId: audio session to which this effect instance will be attached. All effects - // created with the same session ID are connected in series and process the same signal - // stream. Knowing that two effects are part of the same effect chain can help the - // library implement some kind of optimizations. - // ioId: identifies the output or input stream this effect is directed to at audio HAL. + // sessionId: audio session to which this effect instance will be attached. + // All effects created with the same session ID are connected in series and process + // the same signal stream. Knowing that two effects are part of the same effect + // chain can help the library implement some kind of optimizations. + // ioId: identifies the output or input stream this effect is directed to in + // audio HAL. // For future use especially with tunneled HW accelerated effects // // Input/Output: diff --git a/modules/usbaudio/alsa_device_profile.c b/modules/usbaudio/alsa_device_profile.c index 6397b28..141e06b 100644 --- a/modules/usbaudio/alsa_device_profile.c +++ b/modules/usbaudio/alsa_device_profile.c @@ -278,7 +278,8 @@ static unsigned profile_enum_sample_formats(alsa_device_profile* profile, struct return num_written; } -static unsigned profile_enum_channel_counts(alsa_device_profile* profile, unsigned min, unsigned max) +static unsigned profile_enum_channel_counts(alsa_device_profile* profile, unsigned min, + unsigned max) { static const unsigned std_channel_counts[] = {8, 4, 2, 1}; |