From 50f5c48c8615d5c188d756413f0895c74351b4bf Mon Sep 17 00:00:00 2001 From: jbebel Date: Wed, 13 Apr 2005 18:03:43 +0000 Subject: [PATCH] Allow quality settings down to -0.1 for ogg --- darkice/trunk/src/AudioEncoder.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/darkice/trunk/src/AudioEncoder.h b/darkice/trunk/src/AudioEncoder.h index 97f0171..88328dc 100644 --- a/darkice/trunk/src/AudioEncoder.h +++ b/darkice/trunk/src/AudioEncoder.h @@ -150,7 +150,7 @@ class AudioEncoder : public Sink, public virtual Referable this->outSampleRate = outSampleRate; this->outChannel = outChannel; - if ( outQuality < 0 || 1.0 < outQuality ) { + if ( outQuality < -0.1 || 1.0 < outQuality ) { throw Exception( __FILE__, __LINE__, "invalid encoder quality"); } } @@ -456,6 +456,9 @@ class AudioEncoder : public Sink, public virtual Referable $Source$ $Log$ + Revision 1.9 2005/04/13 18:03:43 jbebel + Allow quality settings down to -0.1 for ogg + Revision 1.8 2002/08/20 19:35:37 darkeye added possibility to specify maximum bitrate for Ogg Vorbis streams