Kevin Lenzo
d54d508b54
Merge branch 'main' into kal-endpointer-timestamp-fix
2025-07-29 09:54:46 -04:00
Kevin Lenzo
69185976d2
Add external timestamp support to endpointer to prevent clock drift
...
- Added ps_endpointer_timestamp_cb_t callback type for external timestamps
- Added ps_endpointer_set_timestamp_func() to set external timestamp source
- Added ps_endpointer_timestamp() to get current timestamp
- Modified internal timestamp handling to use callback when available
- Maintains full backward compatibility - existing code works unchanged
- Added comprehensive test suite (test_endpointer_timestamp)
- Added example program demonstrating the new functionality
This addresses issue #352 by allowing applications to provide their own
timestamp source (e.g., system time, monotonic clock) to avoid drift
between audio clock and system clock. The implementation maintains the
audio-based timestamp tracking internally for queue management while
using the external source for speech start/end timestamps when provided.
2025-07-16 15:21:00 -04:00
David Huggins-Daines
c6316a96d9
chore: update all version numbers for a 5.0.4 release
2025-01-10 09:26:31 -05:00
Christian Clauss
ffc4922e46
Fix typos discovered by codespell
2024-12-10 15:43:06 +01:00
David Huggins-Daines
0f1f7a40dd
chore: bump versions and such
2023-12-28 16:15:10 -05:00
David Huggins-Daines
030349ce93
chore: 5.0.2 release
2023-07-31 08:09:10 -04:00
David Huggins-Daines
aecfadbcea
chore: update version numbers
2023-05-16 08:27:00 -04:00
David Huggins-Daines
a6541f385c
fix: use a separate search for alignment.
...
This clears up some undefined behaviour, the user may expect to be
able to restore the orginal LM (or FSG, or KWS, or whatever) after
calling ps_set_align_text() but that was not possible
2022-11-29 16:23:41 -05:00
Roland Rabien
9451f09875
Add missing close brace for C++
2022-11-19 13:53:02 -08:00
David Huggins-Daines
bf992fd003
docs: update docs to mention live_win32.c
2022-10-21 19:44:05 -04:00
David Huggins-Daines
a1702f31d0
docs: clarify comment
2022-10-21 09:33:55 -04:00
David Huggins-Daines
d79fffa98c
docs: include pulseaudio example
2022-10-19 16:40:53 -04:00
David Huggins-Daines
24ccb7b981
docs: include portaudio example
2022-10-19 16:05:51 -04:00
David Huggins-Daines
253f8f94bf
fix: export symbols (oh, bother)
2022-10-05 09:11:27 -04:00
David Huggins-Daines
d2cdaccb0a
docs: reorganize documentation by "class"
...
Doxygen is ... not great. This is the best I can do for now.
2022-10-05 08:43:11 -04:00
David Huggins-Daines
975fad67e3
docs: more imaginative language
2022-10-05 00:10:54 -04:00
David Huggins-Daines
0bcca68724
feat: support (most) escape sequences in JSON
2022-10-04 23:50:35 -04:00
David Huggins-Daines
0cc20cdd29
docs: bonify main doxygen page
2022-10-04 22:42:47 -04:00
David Huggins-Daines
254890798d
docs: document this
2022-10-04 22:42:10 -04:00
David Huggins-Daines
3ac8e510ec
refactor!: arg_t considered too short for public type name
2022-10-04 22:28:04 -04:00
David Huggins-Daines
c409805c65
docs: improve main page a bit
2022-10-04 15:18:06 -04:00
David Huggins-Daines
78f3a2bdff
docs: document POCKETSPHINX_PATH
2022-10-04 14:41:45 -04:00
David Huggins-Daines
23f63b448d
feat: bring soundfile header reading into library
2022-10-04 14:39:07 -04:00
David Huggins-Daines
f637e8d23b
docs: up version, fix typo
2022-10-03 22:28:49 -04:00
David Huggins-Daines
02aa82893e
docs: fix filename so this shows up
2022-10-03 22:28:29 -04:00
David Huggins-Daines
8756dc29d6
feat: expose some more of fsg_model_t API
2022-09-29 21:49:54 -04:00
David Huggins-Daines
0121296992
feat: add missing macro to access frame length
2022-09-29 21:10:19 -04:00
David Huggins-Daines
0e69403988
build: update version
2022-09-28 23:02:33 -04:00
David Huggins-Daines
a6e7dfc0d5
fix: disallow multiple search types in config/command-line
2022-09-28 16:12:24 -04:00
David Huggins-Daines
fa102178dc
feat!: fix cep as float in pocketsphinx.h when fixed
2022-09-27 16:21:40 -04:00
David Huggins-Daines
954d16cfac
feat: constrain alignments to word boundaries
2022-09-23 15:33:08 -04:00
David Huggins-Daines
6dbc960077
fix: retain alignment properly and document
2022-09-23 14:53:45 -04:00
David Huggins-Daines
f11c8cdaf3
feat: fix the ps_alignment_t API to suck less
2022-09-23 08:10:22 -04:00
David Huggins-Daines
7391e04625
refactor!: document alignment.h (but it will change)
2022-09-22 16:58:25 -04:00
David Huggins-Daines
8ff32cdd8e
refactor!: remove unnecessary API functions
2022-09-21 22:03:52 -04:00
David Huggins-Daines
9469213cca
refactor!: hide some unneeded structs
2022-09-21 21:59:23 -04:00
David Huggins-Daines
f40358c492
docs: document reactivating default search
2022-09-21 21:26:10 -04:00
David Huggins-Daines
944853b377
feat!: state alignment should still be a search module
2022-09-21 14:03:21 -04:00
David Huggins-Daines
b86243f5ed
feat!: rearrange alignment API
2022-09-19 13:41:08 -04:00
David Huggins-Daines
580632a14c
docs: fix docs a bit
2022-09-17 21:08:29 -04:00
David Huggins-Daines
5e81de81ae
Merge branch 'master' of github.com:cmusphinx/pocketsphinx
2022-09-17 21:07:38 -04:00
David Huggins-Daines
d9b77f3c44
docs: fix comment
2022-09-17 21:01:02 -04:00
David Huggins-Daines
46c32d1607
refactor!: remove old search function names
...
might as well break everything now (since we broke other stuff already)
2022-09-17 19:25:17 -04:00
David Huggins-Daines
e4a9fb5e55
refactor!: fix misleading function names in search API
2022-09-17 18:22:36 -04:00
David Huggins-Daines
35620908ef
docs: update version number to 5.0.0rc4
2022-09-16 15:57:11 -04:00
David Huggins-Daines
3bd331173d
fix: no more build_fsg_raw in public
2022-09-15 09:54:16 -04:00
David Huggins-Daines
c464c4860f
fix: minimally need fsg_model_free(), perhaps others
2022-09-15 09:53:57 -04:00
David Huggins-Daines
d1127ff95e
feat: expose N-Gram API/ABI
2022-09-15 09:43:27 -04:00
David Huggins-Daines
ea3c865857
feat: expose JSGF API/ABI
2022-09-15 09:35:21 -04:00
David Huggins-Daines
acbd8a6714
fix: turns out custom definitions are necessary
2022-09-14 22:51:10 -04:00