Au headers are written for all alaw, mulaw and slin formats

git-svn-id: http://yate.null.ro/svn/yate/trunk@1249 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2007-04-06 16:08:38 +00:00
parent 261bbc16ea
commit 5cfe78ff09
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ bool WaveConsumer::setFormat(const DataFormat& format)
ok = true;
break;
case Au:
if ((format == "mulaw") || (format == "alaw"))
if ((format.find("mulaw") >= 0) || (format.find("alaw") >= 0) || (format.find("slin") >= 0))
ok = true;
break;
default: