[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kttsd/libkttsd
From:       Gary Cramblitt <garycramblitt () comcast ! net>
Date:       2004-11-19 1:04:47
Message-ID: 20041119010447.64E3716DD3 () office ! kde ! org
[Download RAW message or body]

CVS commit by cramblitt: 

For GStreamer plugin, try oss sink first, then alsa.  Alsa produces ugly echo of last \
couple of words in each wav file, i.e., sentence.


  M +12 -2     gstreamerplayer.cpp   1.4


--- kdenonbeta/kttsd/libkttsd/gstreamerplayer.cpp  #1.3:1.4
@@ -148,7 +148,17 @@ void GStreamerPlayer::setupPipeline()
         m_sink = gst_element_factory_make(m_sinkName.utf8().data(), "sink");
     else {
-        m_sink = gst_element_factory_make("alsasink", "sink");
-        if(!m_sink)
+        // m_sink = gst_element_factory_make("alsasink", "sink");
+        // if(!m_sink)
+        //    m_sink = gst_element_factory_make("osssink", "sink");
+
+        // Reversing order.  OSS seems to work.  Alsa sink produces ugly echo of \
last +        // couple of words in each wav file.  argh!
+        // kdDebug() << "GStreamerPlayer::setupPipeline: trying oss sink." << endl;
             m_sink = gst_element_factory_make("osssink", "sink");            
+        if(!m_sink)
+        {
+            // kdDebug() << "GStreamerPlayer::setupPipeline: reverting to alsa \
sink." << endl; +            m_sink = gst_element_factory_make("alsasink", "sink");
+        }
     }
     


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic