Status

Firefox OS
General
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: pkj1020, Unassigned, Mentored)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36

Steps to reproduce:

I have a question about "WebSpeech API & PocketSphinx".

We have a 'voice recognition engine' and want to use the engine via WebSpeech API.


Actual results:

However, We have a problem with audio data type.
In the ProcessAudioSegment function (PocketSphinxSpeechRecognitionService.cpp), type of the buf is 'int16_t',
but we want to change this type to 'unsigned char' like below.

AudioRecord ar = new AudioRecord(....);
unsigned char buffer[320];
ar->read(buffer, 320);


Expected results:

How can I change the data type? 
Please let me know.
(Reporter)

Updated

2 years ago
Mentor: anatal@mozilla.com
Flags: needinfo?(anatal)

Comment 1

2 years ago
Dietrich, maybe Kelly is the best to help it here.
Flags: needinfo?(anatal)
You need to log in before you can comment on or make changes to this bug.