Code Monkey home page Code Monkey logo

libmimiio's People

Contributors

asari-fd avatar emergent avatar hamamoto-fairy avatar nagisasaka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libmimiio's Issues

Error message text corruption

examples/mimiio_tumbler/mimiio_tumbler_ex2/のプログラムを動かしていて気付いたのですが、エラーメッセージの一部が文字化けしています。

Could not open mimi(R) API service. mimi_open() failed: p��socket connection error no handshake, no connection. (801), retry = 1
mimi connection is successfully opened.
mimi connection is successfully started, decoding starts...

調べてみると、const char* mimi_strerror(int errorno)が返している文字列の先頭部分がおかしいようです。

inline std::string strerror(int errorno)の戻り値の型をconst char*に変更し、 mimi_strerror(int errorno)の中をreturn mimiio::strerror(errorno);に変更すれば正しい文字列が表示されるようになりました。
この変更方法が適切かどうかは不明なのでpull requestにはしませんでした。

Segmentation fault caused by interrupt(Ctrl-C) in mimiio_tumbler_ex2

Segmentation fault caused by interrupt(Ctrl-C) in mimiio_tumbler_ex2.

$ cd ~/setup/libmimiio-master/examples/mimiio_tumbler/mimiio_tumbler_ex2
$ ./mimiio_tumbler_ex2 --host=xxxx --port=xxx --token=xxxxxxxxx --verbose
XFE recording stream is successfully initialized.
XFE recording stream is successfully started.
[[ YOU CAN SPEAK NOW ]]
^CStream is to be finished...
Segmentation fault
$ 

websocketのtimeoutについて(要望)

const long socket_connect_timeout_sec_ = 30; //!< Timeout for connecting remote host
const long socket_send_timeout_sec_ = 30; //!< Timeout for sending in socket
const long socket_recv_timeout_sec_ = 30; //!< Timeout for receiving in socket

ソース固定で変更できないようになっている。
利用時に設定変更可能としてほしい。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.