From 254e7e36a42ee4b1f4157393dc607dda456813d1 Mon Sep 17 00:00:00 2001 From: darkeye Date: Fri, 1 Dec 2000 15:03:28 +0000 Subject: [PATCH] bug fix in error reporting --- darkice/trunk/src/OssDspSource.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/darkice/trunk/src/OssDspSource.cpp b/darkice/trunk/src/OssDspSource.cpp index 59c02d9..4a26068 100644 --- a/darkice/trunk/src/OssDspSource.cpp +++ b/darkice/trunk/src/OssDspSource.cpp @@ -168,7 +168,7 @@ OssDspSource :: open ( void ) throw ( Exception ) u != getChannel() ) { close(); - throw Exception( __FILE__, __LINE__, "can't set channels", i); + throw Exception( __FILE__, __LINE__, "can't set channels", u); } u = getSampleRate(); @@ -176,7 +176,7 @@ OssDspSource :: open ( void ) throw ( Exception ) u != getSampleRate() ) { close(); - throw Exception( __FILE__, __LINE__, "can't set speed", i); + throw Exception( __FILE__, __LINE__, "can't set speed", u); } return true; @@ -265,6 +265,9 @@ OssDspSource :: close ( void ) throw ( Exception ) $Source$ $Log$ + Revision 1.6 2000/12/01 15:03:28 darkeye + bug fix in error reporting + Revision 1.5 2000/11/17 15:50:48 darkeye added -Wall flag to compiler and eleminated new warnings