diff options
author | Lalit Kansara <lkansara@codeaurora.org> | 2016-12-06 15:14:24 +0530 |
---|---|---|
committer | Lalit Kansara <lkansara@codeaurora.org> | 2016-12-06 15:14:24 +0530 |
commit | d8c07d3f5579320b745fece622a4be6d579fbc19 (patch) | |
tree | 6ebca8a9ebcbca8bee3b5fb92a26dcb5884be131 /alsa_utils/include/alsa_device_profile.h | |
parent | 701da7350b010eeb15518d140c4605f3ff11a4e2 (diff) | |
parent | ff3e6f401eb371bd51eaed91bfec1728ec22f3d1 (diff) | |
download | android_system_media-d8c07d3f5579320b745fece622a4be6d579fbc19.tar.gz android_system_media-d8c07d3f5579320b745fece622a4be6d579fbc19.tar.bz2 android_system_media-d8c07d3f5579320b745fece622a4be6d579fbc19.zip |
Merge commit 'ff3e6f401eb371bd51eaed91bfec1728ec22f3d1' into remote
Conflicts:
audio/include/system/audio.h
camera/src/camera_metadata.c
Change-Id: Ifcce13c7d3bd4a68d34f9b09c92df3c6141af2e9
Diffstat (limited to 'alsa_utils/include/alsa_device_profile.h')
-rw-r--r-- | alsa_utils/include/alsa_device_profile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/alsa_utils/include/alsa_device_profile.h b/alsa_utils/include/alsa_device_profile.h index 5520b8a7..e056d70c 100644 --- a/alsa_utils/include/alsa_device_profile.h +++ b/alsa_utils/include/alsa_device_profile.h @@ -81,10 +81,14 @@ bool profile_is_format_valid(alsa_device_profile* profile, enum pcm_format fmt); /* Channel Methods */ unsigned profile_get_default_channel_count(alsa_device_profile* profile); +unsigned profile_get_closest_channel_count(alsa_device_profile* profile, unsigned count); bool profile_is_channel_count_valid(alsa_device_profile* profile, unsigned count); /* Utility */ unsigned profile_calc_min_period_size(alsa_device_profile* profile, unsigned sample_rate); unsigned int profile_get_period_size(alsa_device_profile* profile, unsigned sample_rate); +/* Debugging */ +void profile_dump(const alsa_device_profile* profile, int fd); + #endif /* ANDROID_SYSTEM_MEDIA_ALSA_UTILS_ALSA_DEVICE_PROFILE_H */ |