<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>119753</bug_id>
          
          <creation_ts>2006-01-08 18:54:23 +0000</creation_ts>
          <short_desc>kttsd freezes when removing a speaking text job on alsa plugin</short_desc>
          <delta_ts>2006-01-11 00:00:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kttsd</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Cramblitt">garycramblitt</reporter>
          <assigned_to name="Gary Cramblitt">garycramblitt</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>404601</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Cramblitt">garycramblitt</who>
    <bug_when>2006-01-08 18:54:23 +0000</bug_when>
    <thetext>Version:           0.3.5 (using KDE KDE 3.5.0)
Installed from:    Compiled From Sources
OS:                Linux

With ALSA v1.0.10 or ALSA 1.0.9-8, duplicate this problem as follows.  Configure ALSA as output audio plugin.  In Job tab of KTTSMgr, click Speak Clipboard.  While sentence is speaking, click Remove.  KTTSMgr freezes because kttsd is frozen.

ALSA seems to have changed its behavour sometime after 1.0.8.  It used to be that calling snd_pcm_drop on a playing pcm would cause an error and stop the playback.  No longer.  Instead, the code in AlsaPlayer::stop() calls snd_pcm_drop  and then waits infinitely for the playing thread to exit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>405149</commentid>
    <comment_count>1</comment_count>
    <who name="Gary Cramblitt">garycramblitt</who>
    <bug_when>2006-01-11 00:00:14 +0000</bug_when>
    <thetext>SVN commit 496660 by cramblitt:

BUG:119753 plus other fixes.  See ChangeLog for details.

 M  +25 -0     ChangeLog  
 M  +2 -2      TODO  
 M  +16 -2     kttsd/speaker.cpp  
 M  +12 -0     kttsd/speaker.h  
 M  +14 -4     libkttsd/player.h  
 M  +0 -3      players/akodeplayer/akodeplayer.cpp  
 M  +0 -1      players/akodeplayer/akodeplayer.h  
 M  +1326 -1006 players/alsaplayer/alsaplayer.cpp  
 M  +18 -9     players/alsaplayer/alsaplayer.h  
 M  +3 -6      players/artsplayer/artsplayer.cpp  
 M  +0 -4      players/artsplayer/artsplayer.h  
 M  +3 -3      players/gstplayer/gstreamerplayer.cpp  
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>