View Single Post
Old 04-09-2020, 12:10 PM   #23
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 916
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
It does appear from inspecting the above executables that they operate much as I suspected, but what is less obvious is how the text-to-voice process interfaces with the others. Is source code available for any of these?

Beyond that I do see references to /var/local and various sub-directories. Among these this one seems particularly interesting:

Code:
[root@kindle root]# ls -l /var/local/zbluetooth/
srwxrwxr-x    1 root     javauser         0 Apr  9 11:36 bt-daemon-socket
-rw-rw-r--    1 root     javauser       632 Apr  9 11:36 bt_config.xml
-rw-rw-r--    1 root     javauser      1727 Apr  9 11:37 bt_devices.xml
-rw-rw-r--    1 root     javauser       197 Jan 29 12:20 reconnect_devices.xml
I would imagine this provides a low level interface to the bluetooth device, but as far as I know mplayer does not include such support. One of the processes appears to be in part an audio mixer and perhaps this file offers a clue to someone familiar with programming one:

Code:
[root@kindle root]# cat  /var/local/system/bt_source_state.conf 

[BT_AUDIO_SOURCE_STATES_GROUP_NAME]
MAJOR_SOURCE_ASR=0
MAJOR_SOURCE_NON_ASR=1
COPY_FM_MAJOR_SOURCE_ASR=-1
COPY_FM_MAJOR_SOURCE_NON_ASR=-1
There are invocation options available for several of the processes, but not all. There are likely other clues to someone who, unlike me, has actually worked in this area. I can think of several possible ways for an interface to work, but I am prpbably not the best one to sniff out the clues as to which one is being used and how to take advantage of it for alternative uses.

Dave
dhdurgee is offline   Reply With Quote