Skip to content

Commit

Permalink
legacy/msm7x30: Silence logcat spam
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeNG committed Sep 26, 2014
1 parent 217a9a3 commit e4e6643
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions legacy/msm7x30/AudioHardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,21 +358,21 @@ class AudioHardware : public AudioHardwareBase
char af_quality[PROPERTY_VALUE_MAX];
property_get("af.resampler.quality",af_quality,"0");
if(strcmp("4",af_quality) == 0) {
ALOGD("SampleRate 48k");
ALOGV("SampleRate 48k");
return 48000;
} else {
ALOGD("SampleRate 44.1k");
ALOGV("SampleRate 44.1k");
return 44100;
}
}
virtual size_t bufferSize() const {
char af_quality[PROPERTY_VALUE_MAX];
property_get("af.resampler.quality",af_quality,"0");
if(strcmp("4",af_quality) == 0) {
ALOGD("Bufsize 5248");
ALOGV("Bufsize 5248");
return 5248;
} else {
ALOGD("Bufsize 4800");
ALOGV("Bufsize 4800");
return 4800;
}
}
Expand Down

0 comments on commit e4e6643

Please sign in to comment.