[Feature][ZXW-41] merged 0601 version
Change-Id: I667af6bb09d65581d455b73f8984c160b2c67ad8
diff --git a/ap/lib/libaudiomix/mix.c b/ap/lib/libaudiomix/mix.c
index f0de0f9..35a8c31 100755
--- a/ap/lib/libaudiomix/mix.c
+++ b/ap/lib/libaudiomix/mix.c
@@ -33,13 +33,13 @@
{
if(audio_mix_devfd == MIX_DEV_INVALID_ID)
{
- printf("zte audio /dev/audio_mix_device zDrvAudioMix_WriteOneFrame invalid dev!\n");
+ printf("audio /dev/audio_mix_device zDrvAudioMix_WriteOneFrame invalid dev!\n");
return DRV_ERROR;
}
if(write(audio_mix_devfd, pBuf, uiLen) <= 0)
{
- printf("zte audio /dev/audio_mix_device zDrvAudioMix_WriteOneFrame write failed!\n");
+ printf("audio /dev/audio_mix_device zDrvAudioMix_WriteOneFrame write failed!\n");
return DRV_ERROR;
}
@@ -52,13 +52,13 @@
printf("open end! audio_mix_devfd=%d, audioType=%d, sample_rate=%d\n", audio_mix_devfd, cfgParam->audioType, cfgParam->sample_rate);
if(audio_mix_devfd < 0)
{
- printf("zte audio /dev/audio_mix_device zDrvAudioMix_Open failed!\n");
+ printf("audio /dev/audio_mix_device zDrvAudioMix_Open failed!\n");
return DRV_ERROR;
}
if(ioctl(audio_mix_devfd, AUDIOMIX_IOCTL_SET_CFG, cfgParam) < 0)
{
- printf("zte audio /dev/audio_mix_device set cfg failed!\n");
+ printf("audio /dev/audio_mix_device set cfg failed!\n");
goto err;
}
@@ -66,7 +66,7 @@
err:
close(audio_mix_devfd);
audio_mix_devfd = MIX_DEV_INVALID_ID;
- printf("zte audio /dev/audio_mix_device zDrvAudioMix_Open failed!\n");
+ printf("audio /dev/audio_mix_device zDrvAudioMix_Open failed!\n");
return DRV_ERROR;
}
@@ -75,7 +75,7 @@
{
if(audio_mix_devfd == MIX_DEV_INVALID_ID)
{
- printf("zte audio /dev/audio_mix_device zDrvAudioMix_Close invalid dev!\n");
+ printf("audio /dev/audio_mix_device zDrvAudioMix_Close invalid dev!\n");
return DRV_ERROR;
}
close(audio_mix_devfd);