3
0

galaxys2: audio: remove some logging

Change-Id: I4c391a74f0f29a1b1a5392546f0b8c39f92c7898
This commit is contained in:
Daniel Hillenbrand 2013-05-26 01:04:17 +02:00
parent 7be9070b95
commit cd67b27666
2 changed files with 16 additions and 16 deletions

View File

@ -427,7 +427,7 @@ static int audio_in_set_format(struct audio_stream *stream, audio_format_t forma
{ {
struct tinyalsa_audio_stream_in *stream_in; struct tinyalsa_audio_stream_in *stream_in;
ALOGD("%s(%p, %d)", __func__, stream, format); //ALOGD("%s(%p, %d)", __func__, stream, format);
if(stream == NULL) if(stream == NULL)
return -1; return -1;
@ -453,7 +453,7 @@ static int audio_in_standby(struct audio_stream *stream)
struct tinyalsa_audio_stream_in *stream_in; struct tinyalsa_audio_stream_in *stream_in;
int rc; int rc;
ALOGD("%s(%p)", __func__, stream); //ALOGD("%s(%p)", __func__, stream);
if(stream == NULL) if(stream == NULL)
return -1; return -1;
@ -483,7 +483,7 @@ static int audio_in_standby(struct audio_stream *stream)
static int audio_in_dump(const struct audio_stream *stream, int fd) static int audio_in_dump(const struct audio_stream *stream, int fd)
{ {
ALOGD("%s(%p, %d)", __func__, stream, fd); //ALOGD("%s(%p, %d)", __func__, stream, fd);
return 0; return 0;
} }
@ -496,7 +496,7 @@ static int audio_in_set_parameters(struct audio_stream *stream, const char *kvpa
int value; int value;
int rc; int rc;
ALOGD("%s(%p, %s)", __func__, stream, kvpairs); //ALOGD("%s(%p, %s)", __func__, stream, kvpairs);
if(stream == NULL || kvpairs == NULL) if(stream == NULL || kvpairs == NULL)
return -1; return -1;
@ -539,7 +539,7 @@ error_params:
static char *audio_in_get_parameters(const struct audio_stream *stream, static char *audio_in_get_parameters(const struct audio_stream *stream,
const char *keys) const char *keys)
{ {
ALOGD("%s(%p, %s)", __func__, stream, keys); //ALOGD("%s(%p, %s)", __func__, stream, keys);
return strdup(""); return strdup("");
} }
@ -625,14 +625,14 @@ static uint32_t audio_in_get_input_frames_lost(struct audio_stream_in *stream)
static int audio_in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) static int audio_in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
{ {
ALOGD("%s(%p, %p)", __func__, stream, effect); //ALOGD("%s(%p, %p)", __func__, stream, effect);
return 0; return 0;
} }
static int audio_in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) static int audio_in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
{ {
ALOGD("%s(%p, %p)", __func__, stream, effect); //ALOGD("%s(%p, %p)", __func__, stream, effect);
return 0; return 0;
} }

View File

@ -343,7 +343,7 @@ static int audio_out_set_format(struct audio_stream *stream, audio_format_t form
{ {
struct tinyalsa_audio_stream_out *stream_out; struct tinyalsa_audio_stream_out *stream_out;
ALOGD("%s(%p, %d)", __func__, stream, format); //ALOGD("%s(%p, %d)", __func__, stream, format);
if(stream == NULL) if(stream == NULL)
return -1; return -1;
@ -369,7 +369,7 @@ static int audio_out_standby(struct audio_stream *stream)
struct tinyalsa_audio_stream_out *stream_out; struct tinyalsa_audio_stream_out *stream_out;
int rc; int rc;
ALOGD("%s(%p)", __func__, stream); //ALOGD("%s(%p)", __func__, stream);
if(stream == NULL) if(stream == NULL)
return -1; return -1;
@ -399,7 +399,7 @@ static int audio_out_standby(struct audio_stream *stream)
static int audio_out_dump(const struct audio_stream *stream, int fd) static int audio_out_dump(const struct audio_stream *stream, int fd)
{ {
ALOGD("%s(%p, %d)", __func__, stream, fd); //ALOGD("%s(%p, %d)", __func__, stream, fd);
return 0; return 0;
} }
@ -412,7 +412,7 @@ static int audio_out_set_parameters(struct audio_stream *stream, const char *kvp
int value; int value;
int rc; int rc;
ALOGD("%s(%p, %s)", __func__, stream, kvpairs); //ALOGD("%s(%p, %s)", __func__, stream, kvpairs);
if(stream == NULL || kvpairs == NULL) if(stream == NULL || kvpairs == NULL)
return -1; return -1;
@ -457,7 +457,7 @@ error_params:
static char *audio_out_get_parameters(const struct audio_stream *stream, const char *keys) static char *audio_out_get_parameters(const struct audio_stream *stream, const char *keys)
{ {
ALOGD("%s(%p, %s)", __func__, stream, keys); //ALOGD("%s(%p, %s)", __func__, stream, keys);
return strdup(""); return strdup("");
} }
@ -467,7 +467,7 @@ static uint32_t audio_out_get_latency(const struct audio_stream_out *stream)
struct tinyalsa_audio_stream_out *stream_out; struct tinyalsa_audio_stream_out *stream_out;
uint32_t latency; uint32_t latency;
ALOGD("%s(%p)", __func__, stream); //ALOGD("%s(%p)", __func__, stream);
if(stream == NULL) if(stream == NULL)
return -1; return -1;
@ -559,21 +559,21 @@ error:
static int audio_out_get_render_position(const struct audio_stream_out *stream, static int audio_out_get_render_position(const struct audio_stream_out *stream,
uint32_t *dsp_frames) uint32_t *dsp_frames)
{ {
ALOGD("%s(%p, %p)", __func__, stream, dsp_frames); //ALOGD("%s(%p, %p)", __func__, stream, dsp_frames);
return -EINVAL; return -EINVAL;
} }
static int audio_out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) static int audio_out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
{ {
ALOGD("%s(%p, %p)", __func__, stream, effect); //ALOGD("%s(%p, %p)", __func__, stream, effect);
return 0; return 0;
} }
static int audio_out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) static int audio_out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
{ {
ALOGD("%s(%p, %p)", __func__, stream, effect); //ALOGD("%s(%p, %p)", __func__, stream, effect);
return 0; return 0;
} }