diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-04 18:33:26 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-04 18:33:26 +0000 |
commit | 4c10cccd82255920c6b8b2606b89c322578365d7 (patch) | |
tree | 23b144734e17065290ce04f63d95ecd48fcfbf81 | |
parent | 432de7091cd2bde225c3dd182bd035dcb5083313 (diff) |
format incompatibility warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6900 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libao2/ao_oss.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libao2/ao_oss.c b/libao2/ao_oss.c index 95044ffa53..18b60af3ef 100644 --- a/libao2/ao_oss.c +++ b/libao2/ao_oss.c @@ -147,6 +147,9 @@ ac3_retry: } 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 |