summaryrefslogtreecommitdiffstats
path: root/libao2/ao_dxr2.c
diff options
context:
space:
mode:
authorivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-18 20:31:28 +0000
committerivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-18 20:31:28 +0000
commit0f9f4caba49ab9330e9b3836612a07cde1508354 (patch)
tree2e8c760bb8697ffba7c63fc95ee93f8388395a68 /libao2/ao_dxr2.c
parent102fe4f34a8853709942036c50ca1e64aa71a470 (diff)
downloadmpv-0f9f4caba49ab9330e9b3836612a07cde1508354.tar.bz2
mpv-0f9f4caba49ab9330e9b3836612a07cde1508354.tar.xz
mp_msg transition of unmaintained audio output drivers.
Patch by Reynaldo H. Verdejo Pinochet <reynaldo at opendot dot cl> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13384 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_dxr2.c')
-rw-r--r--libao2/ao_dxr2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libao2/ao_dxr2.c b/libao2/ao_dxr2.c
index 9f996fdce8..c2ed656ce7 100644
--- a/libao2/ao_dxr2.c
+++ b/libao2/ao_dxr2.c
@@ -50,7 +50,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,"DXR2 : Setting volume to %d failed\n",volume);
+ mp_msg(MSGT_AO,MSGL_ERR,MSGTR_AO_DXR2_SetVolFailed,volume);
return CONTROL_ERROR;
}
}
@@ -110,7 +110,7 @@ static int init(int rate,int channels,int format,int flags){
break;
#endif
default:
- mp_msg(MSGT_AO,MSGL_ERR,"[AO] dxr2: %d Hz not supported, try \"-aop list=resample\"\n",rate);
+ mp_msg(MSGT_AO,MSGL_ERR,MSGTR_AO_DXR2_UnsupSamplerate,rate);
return 0;
}