Use audio_source_t consistently
Change-Id: Ie25ddeb091646b7e24149b3b23a18ce0807e1891
This commit is contained in:
parent
ea84c55f2c
commit
ae2e42b244
2 changed files with 3 additions and 3 deletions
|
@ -152,9 +152,9 @@ struct audio_policy {
|
|||
/* releases the output. */
|
||||
void (*release_output)(struct audio_policy *pol, audio_io_handle_t output);
|
||||
|
||||
/* request an input appriate for record from the supplied device with
|
||||
/* request an input appropriate for record from the supplied device with
|
||||
* supplied parameters. */
|
||||
audio_io_handle_t (*get_input)(struct audio_policy *pol, int inputSource,
|
||||
audio_io_handle_t (*get_input)(struct audio_policy *pol, audio_source_t inputSource,
|
||||
uint32_t samplingRate,
|
||||
audio_format_t format,
|
||||
uint32_t channels,
|
||||
|
|
|
@ -121,7 +121,7 @@ static void ap_release_output(struct audio_policy *pol,
|
|||
{
|
||||
}
|
||||
|
||||
static audio_io_handle_t ap_get_input(struct audio_policy *pol, int inputSource,
|
||||
static audio_io_handle_t ap_get_input(struct audio_policy *pol, audio_source_t inputSource,
|
||||
uint32_t sampling_rate,
|
||||
audio_format_t format,
|
||||
uint32_t channels,
|
||||
|
|
Loading…
Reference in a new issue