Mercurial > mplayer.hg
changeset 6899:4a45ce284efc
format incompatibility warning
author | arpi |
---|---|
date | Sun, 04 Aug 2002 18:33:26 +0000 |
parents | 138a7ff52a26 |
children | 3b1df45187b6 |
files | libao2/ao_oss.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_oss.c Sun Aug 04 17:24:00 2002 +0000 +++ b/libao2/ao_oss.c Sun Aug 04 18:33:26 2002 +0000 @@ -147,6 +147,9 @@ } mp_msg(MSGT_AO,MSGL_V,"audio_setup: sample format: %s (requested: %s)\n", audio_out_format_name(ao_data.format), audio_out_format_name(format)); + if(ao_data.format!=format) + mp_msg(MSGT_AO,MSGL_WARN,"WARNING! Your soundcard does NOT support %s sample format! Broken audio or bad playback speed are possible! Try with '-aop list=format'\n",audio_out_format_name(format)); + if(format != AFMT_AC3) { // We only use SNDCTL_DSP_CHANNELS for >2 channels, in case some drivers don't have it