summaryrefslogtreecommitdiff
path: root/apps/talk.c
AgeCommit message (Collapse)Author
2007-03-19SWCODEC: Get rid of extra swap buffer and get back 512K of RAM or 100K if ↵Michael Sevakis
the players RAM is <= 1MB. Make any needed changes to things to stabilize and facilitate this including removing flattening out initialization. Comment some things heavily. Fix a few logfs I didn't want to see the compiler complaining about. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12843 a1c6a512-1295-4272-9138-f99709370657
2007-03-09Install the single stage synchronous audio initialization I cooked up awhile ↵Michael Sevakis
back. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12693 a1c6a512-1295-4272-9138-f99709370657
2007-03-09Fix the sim buildLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12692 a1c6a512-1295-4272-9138-f99709370657
2007-03-09Temporary fix for a nasty race condition when loading the voice file at bootLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12691 a1c6a512-1295-4272-9138-f99709370657
2007-02-14Start using the new endian conversion system outside tagcache also to ↵Miika Pekkarinen
simplify code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12309 a1c6a512-1295-4272-9138-f99709370657
2006-12-25Next round of static'ing and related fixes.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
2006-12-05Removed the cpu boost tracking debug feature for now because ofMiika Pekkarinen
different kind of problems. Better implementation can be done later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11665 a1c6a512-1295-4272-9138-f99709370657
2006-11-28SWCODEC: Audio-related threads must be free of further tasks before ↵Michael Sevakis
returning buffers. Cleanup declarations of related functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11618 a1c6a512-1295-4272-9138-f99709370657
2006-11-18SWCODEC/IRAM: Save voice IRAM when a plugin initializes its IRAM. Defines ↵Michael Sevakis
two macros for declaring and initializing IRAM. Plugins should use these instead. See mp3_encoder, doom, etc. for details. Further tweaks in buffer restoration after other use. Hiding of some interfaces that should only be used by buffer management. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11544 a1c6a512-1295-4272-9138-f99709370657
2006-11-06Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis
SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-10-25A bit more voice simplification/MAS fixage (FS#6241). Also clear any ↵Steve Bavin
buffered voice when playback is started. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11334 a1c6a512-1295-4272-9138-f99709370657
2006-10-25Oops, Archos still needs to stop voice.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11333 a1c6a512-1295-4272-9138-f99709370657
2006-10-25Only flush PCM buffered voice data when explicitly told to. Patch by ↵Steve Bavin
Stephane Doyen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11331 a1c6a512-1295-4272-9138-f99709370657
2006-10-05Add CPU boost tracker to see where boosts are coming fromSteve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11125 a1c6a512-1295-4272-9138-f99709370657
2006-10-03add some consistancy to the path #definesJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11114 a1c6a512-1295-4272-9138-f99709370657
2006-09-26Fixed voice units in recording quality and filesplit by size options.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11063 a1c6a512-1295-4272-9138-f99709370657
2006-08-28Added FS#2939 Encoder Codec Interface + Codecs by Antonius Hellmann with ↵Michael Sevakis
additional FM Recording support and my modifications git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10789 a1c6a512-1295-4272-9138-f99709370657
2006-08-23Patch #5844 by Steve Bavin - Fix confused voice file memory allocationLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10711 a1c6a512-1295-4272-9138-f99709370657
2006-08-15Patch #5766 by Steve Bavin - Fix for various voice related crashesLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10590 a1c6a512-1295-4272-9138-f99709370657
2006-08-01Patch #5690 by Steve Bavin - Fix for memory corruption when using .talk clipsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10396 a1c6a512-1295-4272-9138-f99709370657
2006-05-25Fix: -illons weren't voiced properly since the .lang rework.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9984 a1c6a512-1295-4272-9138-f99709370657
2006-05-15Ondio: Two voice bugfixes. (1) When changing language and voice is enabled, ↵Jens Arnold
do the voice file presence check the same way as on the other targets. Loading the tables right away when music is playing isn't a good idea... (2) Changing language with voice enabled leaked file handles. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9946 a1c6a512-1295-4272-9138-f99709370657
2006-04-01Thorough .lang rework: Removed all deprecated strings, combined string which ↵Jens Arnold
were only split because long ago we had no splash(), sorted strings into logical groups to ease the transition to langv2. Bunped binary .lng version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9398 a1c6a512-1295-4272-9138-f99709370657
2006-03-19Ooops, this was not meant to be committed yet.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9124 a1c6a512-1295-4272-9138-f99709370657
2006-03-19Voice working on the iPods.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9119 a1c6a512-1295-4272-9138-f99709370657
2006-02-26Previous fix broke voice init when no language file had been selected. Fix ↵Magnus Holmgren
that by making sure voice init is run at least once. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8848 a1c6a512-1295-4272-9138-f99709370657
2006-02-23Quick fix to not stop audio playback on .cfg file load unless language ↵Magnus Holmgren
setting has changed. (Could be taken one step further to only stop playback if there's been a change in voice file use.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8817 a1c6a512-1295-4272-9138-f99709370657
2005-12-05kill gcc4 warningsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-09-14iRiver: Fixed a crash when loading a new configuration file and audioMiika Pekkarinen
is playing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7521 a1c6a512-1295-4272-9138-f99709370657
2005-08-29Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold
SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-21Iriver: somewhat more efficient bitswap for voice files. No assembler this ↵Jens Arnold
time since this is a temporary solution anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7381 a1c6a512-1295-4272-9138-f99709370657
2005-08-20Fixed a bug that caused codec memory allocation buffer overwrite andMiika Pekkarinen
vorbis codec to crash. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7362 a1c6a512-1295-4272-9138-f99709370657
2005-08-20Initial voice ui support for software codec platforms. Added also aMiika Pekkarinen
beep when changing tracks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-06-06Don't bitswap on the iRiverLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6583 a1c6a512-1295-4272-9138-f99709370657
2005-04-05mp3buf renamed to audiobufLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-04More audio code restructuring, mostly renaming functions so farLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-02-12long policyJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5929 a1c6a512-1295-4272-9138-f99709370657
2005-02-02Make SH-specific code properly #ifdef'ed. We should consider doing theseDaniel Stenberg
slightly nicer with function calls or something. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5746 a1c6a512-1295-4272-9138-f99709370657
2004-11-18Late-add the final silence clip to the queue. This ensures correct shutup() ↵Jens Arnold
while that clip is playing. Swallowed clip beginnings should be finally gone now. Optimization of the queue pointer handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5425 a1c6a512-1295-4272-9138-f99709370657
2004-11-18Bug fix: First dereference, then subscript, instead of vice versa. The old ↵Jens Arnold
code never stored the correct header, and even caused NULL pointer accesses. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5424 a1c6a512-1295-4272-9138-f99709370657
2004-11-17append the "silence" clip at the end of voice output, this avoids clicks and ↵Jörg Hohensohn
missing ends especially with low bitrates git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5423 a1c6a512-1295-4272-9138-f99709370657
2004-10-25spell "dot" instead of "point", requires up-to-date voice filesJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5345 a1c6a512-1295-4272-9138-f99709370657
2004-10-23new voice ID for the space character, allows to spell with a pause, once ↵Jörg Hohensohn
this is in the voice files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5333 a1c6a512-1295-4272-9138-f99709370657
2004-10-21Improvement for talking filenames: While loading the directory, already ↵Jörg Hohensohn
cache for which files are clips available. This avoids unsuccessful spinups while browsing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5317 a1c6a512-1295-4272-9138-f99709370657
2004-10-12for slow MMC device (Ondio): load voice file piecewise, as neededJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5262 a1c6a512-1295-4272-9138-f99709370657
2004-09-26Added header file for bitswap, and made the fliptable global for re-useJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5120 a1c6a512-1295-4272-9138-f99709370657
2004-08-31loading a setting (and internally calling talk_init) caused the playback to stopJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5027 a1c6a512-1295-4272-9138-f99709370657
2004-08-26Made local constant arrays static, saving a few bytesJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5014 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 Const policed pointer arguments to functions, part 3Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-01More const policeing step 2Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4980 a1c6a512-1295-4272-9138-f99709370657