summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-05-26 01:04:17 +0200
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-05-26 01:04:17 +0200
commitcd67b27666daae2a99d22af7644f3522866049ce (patch)
tree788afce404b725ec342eb5552ec8dee13f0ee5fd
parent7be9070b950af25142e064e57e1c281b08574747 (diff)
downloaddevice_samsung_galaxys2-common-cd67b27666daae2a99d22af7644f3522866049ce.zip
device_samsung_galaxys2-common-cd67b27666daae2a99d22af7644f3522866049ce.tar.gz
device_samsung_galaxys2-common-cd67b27666daae2a99d22af7644f3522866049ce.tar.bz2
galaxys2: audio: remove some logging
Change-Id: I4c391a74f0f29a1b1a5392546f0b8c39f92c7898
-rw-r--r--tinyalsa_audio/audio_in.c14
-rw-r--r--tinyalsa_audio/audio_out.c18
2 files changed, 16 insertions, 16 deletions
diff --git a/tinyalsa_audio/audio_in.c b/tinyalsa_audio/audio_in.c
index 105bf12..0bafbb0 100644
--- a/tinyalsa_audio/audio_in.c
+++ b/tinyalsa_audio/audio_in.c
@@ -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;
- ALOGD("%s(%p, %d)", __func__, stream, format);
+ //ALOGD("%s(%p, %d)", __func__, stream, format);
if(stream == NULL)
return -1;
@@ -453,7 +453,7 @@ static int audio_in_standby(struct audio_stream *stream)
struct tinyalsa_audio_stream_in *stream_in;
int rc;
- ALOGD("%s(%p)", __func__, stream);
+ //ALOGD("%s(%p)", __func__, stream);
if(stream == NULL)
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)
{
- ALOGD("%s(%p, %d)", __func__, stream, fd);
+ //ALOGD("%s(%p, %d)", __func__, stream, fd);
return 0;
}
@@ -496,7 +496,7 @@ static int audio_in_set_parameters(struct audio_stream *stream, const char *kvpa
int value;
int rc;
- ALOGD("%s(%p, %s)", __func__, stream, kvpairs);
+ //ALOGD("%s(%p, %s)", __func__, stream, kvpairs);
if(stream == NULL || kvpairs == NULL)
return -1;
@@ -539,7 +539,7 @@ error_params:
static char *audio_in_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("");
}
@@ -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)
{
- ALOGD("%s(%p, %p)", __func__, stream, effect);
+ //ALOGD("%s(%p, %p)", __func__, stream, effect);
return 0;
}
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;
}
diff --git a/tinyalsa_audio/audio_out.c b/tinyalsa_audio/audio_out.c
index feaa626..3055c07 100644
--- a/tinyalsa_audio/audio_out.c
+++ b/tinyalsa_audio/audio_out.c
@@ -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;
- ALOGD("%s(%p, %d)", __func__, stream, format);
+ //ALOGD("%s(%p, %d)", __func__, stream, format);
if(stream == NULL)
return -1;
@@ -369,7 +369,7 @@ static int audio_out_standby(struct audio_stream *stream)
struct tinyalsa_audio_stream_out *stream_out;
int rc;
- ALOGD("%s(%p)", __func__, stream);
+ //ALOGD("%s(%p)", __func__, stream);
if(stream == NULL)
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)
{
- ALOGD("%s(%p, %d)", __func__, stream, fd);
+ //ALOGD("%s(%p, %d)", __func__, stream, fd);
return 0;
}
@@ -412,7 +412,7 @@ static int audio_out_set_parameters(struct audio_stream *stream, const char *kvp
int value;
int rc;
- ALOGD("%s(%p, %s)", __func__, stream, kvpairs);
+ //ALOGD("%s(%p, %s)", __func__, stream, kvpairs);
if(stream == NULL || kvpairs == NULL)
return -1;
@@ -457,7 +457,7 @@ error_params:
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("");
}
@@ -467,7 +467,7 @@ static uint32_t audio_out_get_latency(const struct audio_stream_out *stream)
struct tinyalsa_audio_stream_out *stream_out;
uint32_t latency;
- ALOGD("%s(%p)", __func__, stream);
+ //ALOGD("%s(%p)", __func__, stream);
if(stream == NULL)
return -1;
@@ -559,21 +559,21 @@ error:
static int audio_out_get_render_position(const struct audio_stream_out *stream,
uint32_t *dsp_frames)
{
- ALOGD("%s(%p, %p)", __func__, stream, dsp_frames);
+ //ALOGD("%s(%p, %p)", __func__, stream, dsp_frames);
return -EINVAL;
}
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;
}
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;
}