Commit graph

193 commits

Author SHA1 Message Date
Jens Arnold
6f0a01e8e4 Ooops, this was not meant to be committed yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9124 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 22:44:45 +00:00
Jens Arnold
f383cc14bd Voice working on the iPods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9119 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 16:09:41 +00:00
Magnus Holmgren
7ac7317038 Previous fix broke voice init when no language file had been selected. Fix 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-26 16:07:34 +00:00
Magnus Holmgren
b1c5676927 Quick fix to not stop audio playback on .cfg file load unless language 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
2006-02-23 21:29:29 +00:00
Daniel Stenberg
f981ea93fb kill gcc4 warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 22:44:42 +00:00
Miika Pekkarinen
0c1a2c7651 iRiver: Fixed a crash when loading a new configuration file and audio
is playing.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7521 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 16:07:07 +00:00
Jens Arnold
d6c054575b Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and SWCODEC, respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-29 21:15:27 +00:00
Jens Arnold
451e2c077a Iriver: somewhat more efficient bitswap for voice files. No assembler this 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-21 23:17:25 +00:00
Miika Pekkarinen
fa0cecf5a9 Fixed a bug that caused codec memory allocation buffer overwrite and
vorbis codec to crash.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7362 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 18:49:14 +00:00
Miika Pekkarinen
159c52dd36 Initial voice ui support for software codec platforms. Added also a
beep when changing tracks.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
2005-08-20 11:13:19 +00:00
Linus Nielsen Feltzing
a12ccabf04 Don't bitswap on the iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6583 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 00:34:07 +00:00
Linus Nielsen Feltzing
d34865a530 mp3buf renamed to audiobuf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-05 11:33:58 +00:00
Linus Nielsen Feltzing
8a237a829e More audio code restructuring, mostly renaming functions so far
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
2005-04-04 12:06:29 +00:00
Jean-Philippe Bernardy
45e0de3e63 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5929 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 11:26:36 +00:00
Daniel Stenberg
003c0d2dae Make SH-specific code properly #ifdef'ed. We should consider doing these
slightly nicer with function calls or something.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5746 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 21:50:24 +00:00
Jens Arnold
1a479d634d Late-add the final silence clip to the queue. This ensures correct shutup() 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-18 22:59:20 +00:00
Jens Arnold
fee06d68c7 Bug fix: First dereference, then subscript, instead of vice versa. The old 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-18 20:19:40 +00:00
Jörg Hohensohn
24e6dffa50 append the "silence" clip at the end of voice output, this avoids clicks and missing ends especially with low bitrates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5423 a1c6a512-1295-4272-9138-f99709370657
2004-11-17 22:30:38 +00:00
Jörg Hohensohn
ae34f64dbf spell "dot" instead of "point", requires up-to-date voice files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5345 a1c6a512-1295-4272-9138-f99709370657
2004-10-25 20:44:37 +00:00
Jörg Hohensohn
de79e68b09 new voice ID for the space character, allows to spell with a pause, once this is in the voice files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5333 a1c6a512-1295-4272-9138-f99709370657
2004-10-23 17:58:38 +00:00
Jörg Hohensohn
40ae63b4fc Improvement for talking filenames: While loading the directory, already 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-21 18:34:48 +00:00
Jörg Hohensohn
a7aa17ac1b for slow MMC device (Ondio): load voice file piecewise, as needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5262 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 16:43:22 +00:00
Jens Arnold
4341211ddc Added header file for bitswap, and made the fliptable global for re-use
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5120 a1c6a512-1295-4272-9138-f99709370657
2004-09-26 09:25:59 +00:00
Jörg Hohensohn
3e41780d44 loading a setting (and internally calling talk_init) caused the playback to stop
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5027 a1c6a512-1295-4272-9138-f99709370657
2004-08-31 22:13:20 +00:00
Jens Arnold
033ba1669b Made local constant arrays static, saving a few bytes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5014 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 20:30:22 +00:00
Jens Arnold
8fb336148f Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
2004-08-18 01:09:31 +00:00
Jens Arnold
839067b7b3 More const policeing step 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4980 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 23:34:44 +00:00
Linus Nielsen Feltzing
f4f4111536 Added possibility to select the priority of the ID3 tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4962 a1c6a512-1295-4272-9138-f99709370657
2004-07-27 14:10:48 +00:00
Jörg Hohensohn
267d8ebd89 After much debating, it has been decided to name talkbox clips "_dirname.talk". Please either bulk-rename your clips, or delete and re-generate them with an updated script.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4687 a1c6a512-1295-4272-9138-f99709370657
2004-05-21 22:26:25 +00:00
Jörg Hohensohn
2fef5b7b4a While searching the voice crash like a madman, I made this module a lot more safe, so I can as well commit that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4598 a1c6a512-1295-4272-9138-f99709370657
2004-05-09 09:41:23 +00:00
Jörg Hohensohn
c49129cacd minor improvement to make the clip switch safer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4528 a1c6a512-1295-4272-9138-f99709370657
2004-04-20 22:11:20 +00:00
Jörg Hohensohn
c898a02bb4 fixed the missing first part of voice problem when switching clips, although not very nice (messing with the DMA in application code)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4527 a1c6a512-1295-4272-9138-f99709370657
2004-04-20 21:47:07 +00:00
Jörg Hohensohn
99483dee1c talkbox clip renamed to ".dirname.tbx", most people voted for a non-mp3 extension
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4485 a1c6a512-1295-4272-9138-f99709370657
2004-04-10 09:04:26 +00:00
Jörg Hohensohn
6e77d1fe39 Voice UI searches for <mylanguage>.voice, no hard-coded "english.voice" any more. We can localize the voice now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4471 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 07:06:59 +00:00
Jörg Hohensohn
c8592bac33 Voice UI: option to spell dirs/files, say (known) extension with file number, minor fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4465 a1c6a512-1295-4272-9138-f99709370657
2004-04-04 19:08:44 +00:00
Jörg Hohensohn
f9495cba65 Changed concept for voice IDs: the voice-only IDs now are in a separate range, don't generate an empty language string. This saves memory, but requires a new voice file format with 2 tables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4463 a1c6a512-1295-4272-9138-f99709370657
2004-04-03 20:52:24 +00:00
Jörg Hohensohn
b109c1e910 insert a dummy frame before changing clips (still no major improvement), back to the previous frame search algorithm because the talkbox clips can be quite different
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4449 a1c6a512-1295-4272-9138-f99709370657
2004-03-29 08:19:47 +00:00
Jörg Hohensohn
3aa99e14cd Step 4 of voice UI:
- "talkbox" functionality added, but yet without thumbnail recording
- menu under "general settings" to configure voice
- directories and folders can be voiced as a numbers


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4440 a1c6a512-1295-4272-9138-f99709370657
2004-03-27 00:11:01 +00:00
Linus Nielsen Feltzing
1c92b6bd09 Slightly better method of finding the next frame
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4435 a1c6a512-1295-4272-9138-f99709370657
2004-03-23 11:49:09 +00:00
Linus Nielsen Feltzing
9e11ff81d5 talk_value() and talk_number() didn't check if the music was playing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4431 a1c6a512-1295-4272-9138-f99709370657
2004-03-22 12:34:06 +00:00
Jörg Hohensohn
590e6af888 First try to get a better transition from a cancelled clip to a new one, by maintaining the frame sync. Doesn't seem to have much effect, though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4425 a1c6a512-1295-4272-9138-f99709370657
2004-03-21 17:45:45 +00:00
Jörg Hohensohn
beec2e97e6 Overlooked to "voice" the set_int() function, this is why many numerical setting remained silent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4416 a1c6a512-1295-4272-9138-f99709370657
2004-03-20 16:49:58 +00:00
Jörg Hohensohn
fa97f161ab Third step of the voice-UI: numerical settings are spoken (composed at runtime), needs new voicefont at the new location ".rockbox/langs/english.voice"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4414 a1c6a512-1295-4272-9138-f99709370657
2004-03-19 22:15:53 +00:00