summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Dominic Mazzoni [Wed, 28 Nov 2012 22:37:48 +0000 (14:37 -0800)]
Remove Pico-based speech synthesis service.
This capability is now being provided by a component extension.
BUG=chromium-os:36744
TEST=none
CQ-DEPEND=38858
Change-Id: I3e48f9542f97942a6b8b78e9c31ef28e59dddf52
Reviewed-on: https://gerrit.chromium.org/gerrit/38856
Commit-Ready: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Tested-by: Dominic Mazzoni <dmazzoni@chromium.org>
Mike Frysinger [Wed, 11 Apr 2012 18:43:07 +0000 (14:43 -0400)]
add an OWNERS file
BUG=chromium-os:22007
TEST=`cat OWNERS` shows me someone to annoy
Change-Id: I3eb91d6b69e6366aafff35ae8de17d6c2e3719cc
Reviewed-on: https://gerrit.chromium.org/gerrit/20006
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Mike Frysinger [Wed, 11 Apr 2012 18:41:44 +0000 (14:41 -0400)]
update to newer libbase
BUG=chromium-os:25872
TEST=`emerge-x86-alex speech_synthesis` works
Change-Id: I65cbb33a5bfb8011ade7313f1e83d62287daf9ea
Reviewed-on: https://gerrit.chromium.org/gerrit/20007
Reviewed-by: Ryo Hashimoto <hashimoto@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Ryo Hashimoto [Fri, 16 Mar 2012 21:40:11 +0000 (14:40 -0700)]
Remove 32bit CHECK for Pico
BUG=chromium-os:27791
TEST=Enable spoken feedback on alex running 64bit binary, ensure it speaks something.
Change-Id: I296728092d4aed725c1ab5e13cabcf9e924b6178
Reviewed-on: https://gerrit.chromium.org/gerrit/18404
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Commit-Ready: Ryo Hashimoto <hashimoto@chromium.org>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Mike Frysinger [Fri, 9 Mar 2012 19:57:21 +0000 (14:57 -0500)]
convert to SLOT-ed libbase
BUG=chromium-os:16623
TEST=`emerge-x86-alex speech_synthesis` works
Change-Id: I4ec718128ad5abeaad3ebac44dfd89ca747f463e
Reviewed-on: https://gerrit.chromium.org/gerrit/17722
Reviewed-by: Ryo Hashimoto <hashimoto@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Mike Frysinger [Thu, 16 Feb 2012 00:27:45 +0000 (19:27 -0500)]
[speech_synthesis] rewrite makefile
This fixes a bunch of issues:
- drop hardcoded x86_generic -I/-L paths for all targets
- use standard flag namings (CXXFLAGS/CPPFLAGS/LDLIBS)
- split compiler flags into CXXFLAGS and preprocessor flags into CPPFLAGS
- execute pkg-config twice per *make*, not per *file compile*
- use pkg-config for all libraries were possible (alsa/libchrome)
- fix link order -- we need flags, then objects, then libraries
- fix build dependencies -- make sure dirs are created before they are
needed, and make them an order-only depend; this should allow us to
build in parallel again rather than forcing -j1
- drop -fPIC hardcode -- we're creating an executable, not a library
- drop the -I.. and -Iobjs flags -- there are no headers in either place
BUG=None
TEST=`emerge-x86-alex speech_synthesis` still works
Change-Id: I46f076927f1d0ce0dfb9f261310f32b4461cd22a
Reviewed-on: https://gerrit.chromium.org/gerrit/15987
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Scott James Remnant <keybuk@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Elly Jones [Wed, 11 Jan 2012 22:46:37 +0000 (17:46 -0500)]
[speech_synthesis] use libchromeos.pc
BUG=chromium-os:24959
TEST=build
Signed-off-by: Elly Jones <ellyjones@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/14020
(cherry picked from commit
16e88a9fb32266b5fc67bfeee29848e4de3c53de)
Change-Id: Ie1e5db8436b5397e691cc638b6c89ec87f1ff9af
Reviewed-on: https://gerrit.chromium.org/gerrit/14514
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Elly Jones <ellyjones@chromium.org>
Commit-Ready: Elly Jones <ellyjones@chromium.org>
Scott James Remnant [Fri, 13 Jan 2012 01:58:35 +0000 (17:58 -0800)]
Revert "[speech_synthesis] use libchromeos.pc"
This reverts commit
440985edf710ccb569ea6e0047452581bf698f0e
Change-Id: I089e1b7e742d226f68d247be15c623d9036b7995
Reviewed-on: https://gerrit.chromium.org/gerrit/14113
Reviewed-by: Scott James Remnant <keybuk@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Elly Jones [Wed, 11 Jan 2012 22:46:37 +0000 (17:46 -0500)]
[speech_synthesis] use libchromeos.pc
BUG=chromium-os:24959
TEST=build
Change-Id: Ifbb8a20a26330c715bcb970ffcf782a1d86aa3a7
Signed-off-by: Elly Jones <ellyjones@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/14020
Ryo Hashimoto [Fri, 6 Jan 2012 09:36:41 +0000 (18:36 +0900)]
Fix unreleased TtsVoice
Replace pointer with instance.
BUG=None
TEST=gmerge speech_synthesis
Change-Id: Iacba7ae227b7638baa9dec53d9b79e251f94b695
Reviewed-on: https://gerrit.chromium.org/gerrit/13785
Commit-Ready: Ryo Hashimoto <hashimoto@chromium.org>
Reviewed-by: Ryo Hashimoto <hashimoto@chromium.org>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Ryo Hashimoto [Fri, 6 Jan 2012 07:47:00 +0000 (16:47 +0900)]
Integrate SetProperties method to Speak
BUG=chromium-os:24785
TEST=Press Ctrl+Alt+Z on the login screen and ensure the device speaks something.
Change-Id: If86671b241a9b01a36b892c69118aea777eba022
Reviewed-on: https://gerrit.chromium.org/gerrit/13782
Commit-Ready: Ryo Hashimoto <hashimoto@chromium.org>
Reviewed-by: Ryo Hashimoto <hashimoto@chromium.org>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Ryo Hashimoto [Fri, 6 Jan 2012 08:04:49 +0000 (17:04 +0900)]
Remove unused code
BUG=None
TEST=gmerge speech_synthesis
Change-Id: I4fa36cfa2cc5616c13b6968e45ee3b9d23d01d2c
Reviewed-on: https://gerrit.chromium.org/gerrit/13780
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Commit-Ready: Ryo Hashimoto <hashimoto@chromium.org>
Ryo Hashimoto [Fri, 6 Jan 2012 02:35:07 +0000 (11:35 +0900)]
Shuts down when idle for 60 seconds.
BUG=chromium-os:24108
TEST=Turn on accessibility, leave the device untouched for 60 seconds. Ensure "$cat /proc/asound/card0/pcon0p/sub0/status" shows "closed", or wait more until the device suspends.
Change-Id: I81a38b2ab22eec2abbe298b0fbe290eba8ab0a58
Reviewed-on: https://gerrit.chromium.org/gerrit/13778
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Commit-Ready: Ryo Hashimoto <hashimoto@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Ryo Hashimoto [Wed, 21 Dec 2011 06:38:24 +0000 (15:38 +0900)]
Add shutdown method
Release unreleased resources.
Manage resources by RAII rathar than manual delete.
Style fixes.
Remove unused audio_output_pulseaudio.cc
Remove unnecessary Threading class.
Do not retry ttsService->StartService() in SpeechSynthesizerService::Run()
BUG=chromium-os:24108
TEST=gmerge speech_syntheis
Change-Id: I45c3599675df8e48c9172f19c5e20bd2032838c1
Reviewed-on: https://gerrit.chromium.org/gerrit/13327
Commit-Ready: Ryo Hashimoto <hashimoto@chromium.org>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Dominic Mazzoni [Wed, 9 Nov 2011 22:01:53 +0000 (14:01 -0800)]
Remove the speech synthesis 3-second startup delay hack.
This should be committed after http://codereview.chromium.org/8511026/ lands,
which ensures TTS isn't initialized until after the Chrome OS Audio Mixer is.
BUG=chromium-os:19067
TEST=Press Ctrl+Alt+Z in the login screen to turn on accessibility, there should be a <1 second delay before you hear speech. Reboot and you should hear speech right away. Volume controls should work.
Change-Id: I73d4d53fc2dfef3a05d925d95c30cfe4ca4ba4ae
Reviewed-on: https://gerrit.chromium.org/gerrit/11415
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Dominic Mazzoni <dmazzoni@chromium.org>
Ryo Hashimoto [Fri, 28 Oct 2011 05:50:07 +0000 (14:50 +0900)]
Fix crash when the service cannot start.
SpeechSynthesizerService::speech_synthesizer_ should be released by g_object_unref, not by delete
BUG=chromium-os:22031
TEST=No crash even when audio device is not available.
Change-Id: I2155aeb804c2eb2695494cbf53c745f9bed8e61a
Reviewed-on: https://gerrit.chromium.org/gerrit/10839
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Ryo Hashimoto [Wed, 26 Oct 2011 05:27:36 +0000 (14:27 +0900)]
Log goes to syslog by default
BUG=chromium-os:22052
TEST=see syslog on chrome://system to find speech_synthesizer's log
Change-Id: I42fd7d173ffc93321981abb874d4adbd19093530
Reviewed-on: https://gerrit.chromium.org/gerrit/10700
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Ryo Hashimoto [Wed, 26 Oct 2011 05:36:22 +0000 (14:36 +0900)]
Chagne TTS spoken contents log level to VLOG(3)
This log may contain private information, not good to appear on chrome://system
BUG=chromium-os:22052
TEST=Open syslong on chrome://system, confirm there is no spoken-by-speech-synthesizer contents recorded
Change-Id: Ia98c431b33d463af82dd7d9b6307d93ce982046c
Reviewed-on: https://gerrit.chromium.org/gerrit/10701
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Todd Broch [Wed, 14 Sep 2011 20:58:51 +0000 (13:58 -0700)]
Revert "[speech_synthesizer] free previously alloc'd snd_pcm_info_t struct"
This reverts commit
22c1790a7014eba02e171aa1aceb1e6c024c057d
Change-Id: I7cafc15cc45c22d09e6c0031717b16accda30d6e
Reviewed-on: http://gerrit.chromium.org/gerrit/7733
Tested-by: Todd Broch <tbroch@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
Todd Broch [Mon, 12 Sep 2011 21:53:45 +0000 (14:53 -0700)]
[speech_synthesizer] free previously alloc'd snd_pcm_info_t struct
BUG=chromium-os:18775
TEST=manual, boot with accessibility options already enabled and hear
speech_synthesizer via built-in speakers as well as headphones.
Change-Id: Ic77c9bdb001e9c570d965662a79197fe27df0d7d
Reviewed-on: http://gerrit.chromium.org/gerrit/7566
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Tested-by: Todd Broch <tbroch@chromium.org>
Dominic Mazzoni [Thu, 11 Aug 2011 20:30:32 +0000 (13:30 -0700)]
Add a delay so that speech synthesis doesn't start up for 3 seconds.
This forces it to initialize after Chrome, and then the volume control
problems magically go away.
In measurements, it was an average of 1.1 - 1.3 seconds before Chrome
initialized audio, so a 3.0-second delay includes some cushion.
Temporary hack! Bug to fix it correctly: crosbug.com/19067
BUG=chromium-os:11946
TEST=manual testing
Change-Id: I69d43891fc73c054cb7b85e3e41d53d30db23a7d
Reviewed-on: http://gerrit.chromium.org/gerrit/5765
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Dominic Mazzoni <dmazzoni@chromium.org>
Dominic Mazzoni [Wed, 3 Aug 2011 21:45:06 +0000 (14:45 -0700)]
Fix compiler warning to help with gcc-4.6 build.
BUG=chromium-os:15042
TEST=none
Change-Id: Ie038269df6cdf3bb155736118993eb895afd24d8
Reviewed-on: http://gerrit.chromium.org/gerrit/5247
Reviewed-by: asharif <asharif@chromium.org>
Reviewed-by: Anush Elangovan <anush@chromium.org>
Tested-by: Dominic Mazzoni <dmazzoni@chromium.org>
Diego Elio Pettenò [Tue, 24 May 2011 10:32:26 +0000 (12:32 +0200)]
Respect PKG_CONFIG variable if set in the environment.
This is required for the new cross-compilation support using pkg-config
wrappers instead of changing the pkg-config files themselves.
BUG=none
TEST=emerge-arm-generic with and without pkg-config wrappers
Change-Id: I9e403a668f623c535aadab608a36949ab2be0f78
Reviewed-on: http://gerrit.chromium.org/gerrit/1448
Reviewed-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: David James <davidjames@chromium.org>
Tested-by: Diego Elio Pettenò <flameeyes@chromium.org>
Chris Masone [Thu, 12 May 2011 21:35:17 +0000 (14:35 -0700)]
[speech_synthesis] Roll forward to new libchrome
BUG=chromium-os:14304
TEST=build, unit tests
Change-Id: Iacf4ccc611dbc66924cdfb6b016cb3b72134caf3
Reviewed-on: http://gerrit.chromium.org/gerrit/822
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
Jim Hebert [Tue, 12 Apr 2011 19:06:55 +0000 (12:06 -0700)]
Enable -Wall -Werror and fix 2 compile-errors it would introduce.
Change-Id: I9150969787f308152d49c82d31078df50deabdcd
BUG=chromium-os:13800
TEST=emerge-x86-mario speech_synthesis and emerge-arm-generic speech_synthesis both compile cleanly
Review URL: http://codereview.chromium.org/6812006
David Johnston [Sat, 29 Jan 2011 02:02:05 +0000 (18:02 -0800)]
dmazzoni's fixes to ALSA
After this change, speech_synthesis will not require PulseAudio in order to function.
Change-Id: I051e8ed0f46bde1058dfc606f3e60cfbc41e7d41
BUG=chromium-os:11321
TEST=manual
Review URL: http://codereview.chromium.org/6299025
David Johnston [Tue, 25 Jan 2011 02:28:40 +0000 (18:28 -0800)]
Use ALSA for speech synthesis
Changing the Makefile to use ALSA instead of PulseAudio. Even if PulseAudio is running, tts still works since ALSA is routed through PA in that case.
Change-Id: I026f71caade65a4c99e60339698a6a456db3e721
BUG=chromium-os:10470
TEST=Manual, with pulseaudio disabled (USE="-pulseaudo", the default) tts should work
Review URL: http://codereview.chromium.org/6344012
Chaitanya Gharpure [Mon, 24 Jan 2011 21:02:14 +0000 (13:02 -0800)]
Revert "Added support for named earcons"
This reverts commit
3ad92053202a694273ff5635075ed2cecaa059d7.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6349011
Change-Id: I1b5b6c23c45ac322502c31c9548a8e7c21864dcc
Chaitanya Gharpure [Mon, 24 Jan 2011 17:21:59 +0000 (09:21 -0800)]
Added support for named earcons
Fixing the bug again since the last fix (Issue 4635005) was reverted.
Also, added tests.
Change-Id: I19b6a0002a1e582776188eac182cb69a3378ef3f
BUG=chromium-os:9336
TEST=Run unit tests from chroot as: ./cros_run_unit_tests --board=x86-generic --packages "speech_synthesis"
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=d019aef
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=313ada3
Review URL: http://codereview.chromium.org/5962017
Chaitanya Gharpure [Wed, 19 Jan 2011 22:37:47 +0000 (14:37 -0800)]
Revert "Added support for named earcons"
This reverts commit
929d7bb321cb00a3c0fdc0fed312856a5831a64d.
Merge branch 'master' of ssh://gitrw.chromium.org:9222/speech_synthesis into ear
Revert "Added support for named earcons"
This reverts commit
929d7bb321cb00a3c0fdc0fed312856a5831a64d.
Added support for named earcons
Change-Id: Ibbedf63a27a92a535299d0a20695e2991a2ad361
BUG=
TEST=
Review URL: http://codereview.chromium.org/6277011
Chaitanya Gharpure [Wed, 19 Jan 2011 22:16:16 +0000 (14:16 -0800)]
Added support for named earcons
Fixing the bug again since the last fix (Issue 4635005) was reverted.
Also, added tests.
Change-Id: I19b6a0002a1e582776188eac182cb69a3378ef3f
BUG=chromium-os:9336
TEST=Run unit tests from chroot as: ./cros_run_unit_tests --board=x86-generic --packages "speech_synthesis"
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=d019aef
Review URL: http://codereview.chromium.org/5962017
Chaitanya Gharpure [Wed, 19 Jan 2011 18:41:02 +0000 (10:41 -0800)]
Revert "Added support for named earcons"
This reverts commit
34a5dba7b93311093c911ac9f2d412383b691470.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6322004
Change-Id: I96912864bc0a0c915a5763990ecd37b2377b82bf
Chaitanya Gharpure [Wed, 19 Jan 2011 18:13:11 +0000 (10:13 -0800)]
Added support for named earcons
Fixing the bug again since the last fix (Issue 4635005) was reverted.
Also, added tests.
Change-Id: I19b6a0002a1e582776188eac182cb69a3378ef3f
BUG=chromium-os:9336
TEST=Run unit tests from chroot as: ./cros_run_unit_tests --board=x86-generic --packages "speech_synthesis"
Review URL: http://codereview.chromium.org/5962017
Darin Petkov [Thu, 18 Nov 2010 04:53:38 +0000 (20:53 -0800)]
Revert "Added support for named earcons"
This reverts commit
da48d826889cf4f1aecb31b6e329a52bb8821bfb.
TBR=sosa,chaitanyag
Change-Id: I08a1f107b5e3c008f5aa79e76532575ac82a7962
Chaitanya Gharpure [Thu, 18 Nov 2010 04:40:06 +0000 (20:40 -0800)]
Added support for named earcons
Change-Id: I19b6a0002a1e582776188eac182cb69a3378ef3f
BUG=chromium-os:9336
TEST=none
Review URL: http://codereview.chromium.org/4635005
Chaitanya Gharpure [Wed, 13 Oct 2010 22:19:44 +0000 (15:19 -0700)]
Adding support for earcon manager using existing code in google3
Review URL: http://codereview.chromium.org/3573017
Chaitanya Gharpure [Thu, 7 Oct 2010 22:13:37 +0000 (15:13 -0700)]
Remove the hard coded sink index to get sink info
Review URL: http://codereview.chromium.org/3562010
Chaitanya Gharpure [Mon, 13 Sep 2010 22:31:27 +0000 (15:31 -0700)]
Adding support for setting an utterance to be non-interruptible.
Review URL: http://codereview.chromium.org/3366022
Chaitanya Gharpure [Wed, 11 Aug 2010 21:54:19 +0000 (14:54 -0700)]
Set the user of this service to chronos.
Review URL: http://codereview.chromium.org/3128005
J. Richard Barnette [Thu, 5 Aug 2010 21:13:48 +0000 (14:13 -0700)]
Add LICENSE file
Chaitanya Gharpure [Wed, 28 Jul 2010 18:27:55 +0000 (11:27 -0700)]
Allow speech_synthesizer service to be run by non-root user
Review URL: http://codereview.chromium.org/3027032
Chaitanya Gharpure [Thu, 15 Jul 2010 00:54:35 +0000 (17:54 -0700)]
Removing the bool return value from methods exposed by this DBUS service.
Review URL: http://codereview.chromium.org/2979007
Anush Elangovan [Sat, 5 Jun 2010 20:12:30 +0000 (13:12 -0700)]
Setup code review inheritance
Change-Id: Ifbf61dc36931fca948ea812b51b6ddeae4a6188a
Chaitanya Gharpure [Wed, 2 Jun 2010 02:31:55 +0000 (19:31 -0700)]
Send DBus signal to the browser indicating whether TTS service started successfully.
Review URL: http://codereview.chromium.org/2455006
Chaitanya Gharpure [Tue, 1 Jun 2010 19:09:35 +0000 (12:09 -0700)]
Using pulseaudio API instead of ALSA. Doing multiple attempts to connect to pulseaudio.
Review URL: http://codereview.chromium.org/2304003
Chaitanya Gharpure [Mon, 12 Apr 2010 20:13:59 +0000 (13:13 -0700)]
-Added support for setting various properties such as language, rate, pitch, etc.
Review URL: http://codereview.chromium.org/1584019
Chaitanya Gharpure [Tue, 16 Mar 2010 21:27:00 +0000 (14:27 -0700)]
Text-to-speech (TTS) synthesis library code.
Adding the code TTS wrapper library. See README file for details.
Review URL: http://codereview.chromium.org/721001