stopListening in the main thread

Home Forums OpenEars stopListening in the main thread

Viewing 2 posts - 1 through 2 (of 2 total)

  • Author
    Posts
  • #1026357
    foobar8675
    Participant

    I understand startRealtimeListeningWithLanguageModelAtPath needs to be done in the main thread, but does stopListening also need to be done in the main thread? I notice sometimes, it takes a few seconds to stop.

    #1026358
    Halle Winkler
    Politepix

    I would still call it from the main thread, since any pause is going to be due to thread cleanup operations.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.