diff options
Diffstat (limited to 'libao2/ao_dxr2.c')
-rw-r--r-- | libao2/ao_dxr2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libao2/ao_dxr2.c b/libao2/ao_dxr2.c index 37bf6f636d..cac669db58 100644 --- a/libao2/ao_dxr2.c +++ b/libao2/ao_dxr2.c @@ -26,7 +26,6 @@ #include <dxr2ioctl.h> #include "config.h" #include "mp_msg.h" -#include "help_mp.h" #include "libavutil/common.h" #include "mpbswap.h" @@ -73,7 +72,7 @@ static int control(int cmd,void *arg){ if(v.arg != volume) { volume = v.arg; if( ioctl(dxr2_fd,DXR2_IOC_SET_AUDIO_VOLUME,&v) < 0) { - mp_msg(MSGT_AO,MSGL_ERR,MSGTR_AO_DXR2_SetVolFailed,volume); + mp_tmsg(MSGT_AO,MSGL_ERR,"[AO DXR2] Setting volume to %d failed.\n",volume); return CONTROL_ERROR; } } @@ -135,7 +134,7 @@ static int init(int rate,int channels,int format,int flags){ break; #endif default: - mp_msg(MSGT_AO,MSGL_ERR,MSGTR_AO_DXR2_UnsupSamplerate,rate); + mp_tmsg(MSGT_AO,MSGL_ERR,"[AO DXR2] %d Hz not supported, try to resample.\n",rate); return 0; } |