summaryrefslogtreecommitdiffstats
path: root/libao2/ao_dxr2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libao2/ao_dxr2.c')
-rw-r--r--libao2/ao_dxr2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libao2/ao_dxr2.c b/libao2/ao_dxr2.c
index 136efd1a9e..e8aa65aab5 100644
--- a/libao2/ao_dxr2.c
+++ b/libao2/ao_dxr2.c
@@ -73,7 +73,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 +135,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;
}
@@ -220,4 +220,3 @@ static float get_delay(void){
return 0.0;
}
-