Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YARP Microphone module should be deprecated #891

Closed
barbalberto opened this issue Sep 1, 2016 · 5 comments
Closed

YARP Microphone module should be deprecated #891

barbalberto opened this issue Sep 1, 2016 · 5 comments

Comments

@barbalberto
Copy link
Collaborator

For audio capture / play sounds the standard module in yarp is the portAudio device, but there is another device called Microphone in yarp/src/module with Windows and Linux implementation.

The linux implementation uses /dev/dsp device which is deprecated and replaced by ALSA (used by portaudio).

If portaudio is working well in windows then I suggest to deprecate the microphone device.

@vtikha
Copy link
Member

vtikha commented Sep 2, 2016

👍 +1

@drdanz
Copy link
Member

drdanz commented Sep 21, 2016

👍
@robotology/all-robotology-developers Is anyone using the microphone device or for some reason against deprecating it?

@barbalberto
Copy link
Collaborator Author

On a quick test with @randaz81, we saw that compilation of the module fails on Windows.

On Linux it uses a deprecated version of linux driver. Furthermore, when I tried to run it the only output was:

WARNING: the MicrophoneDeviceDriver is just a cartoon
WARNING: it hasn't really been written yet
/dev/dsp: No such file or directory

I'll go forward to deprecated it in favor of portaudio.
@drdanz @randaz81 do you agree?

@randaz81
Copy link
Member

👍

@EliseiFrederic
Copy link
Collaborator

Hi,

As far as I remember, there are some linux packets (aoss or alsa-oss ?) to get /dev/dsp (belonging to the deprecated
oss interface) emulated on alsa. This might be the way to get the non-cartoon ?

Anyway, the device driver used by our iCub already uses portaudio for the ear-microphones if I recall
correctly, so no problem here with bashing /dev/dsp.

Cheers,
Frederic

On Thu, Oct 27, 2016 at 01:57:54AM -0700, Alberto Cardellino wrote:

On a quick test with @randaz81, we saw that compilation of the module fails on Windows.

On Linux it uses a deprecated version of linux driver. Furthermore, when I tried to run it the only output was:

WARNING: the MicrophoneDeviceDriver is just a cartoon
WARNING: it hasn't really been written yet
/dev/dsp: No such file or directory

I'll go forward to deprecated it in favor of portaudio.
@drdanz @randaz81 do you agree?

You are receiving this because you are on a team that was mentioned.
Reply to this email directly or view it on GitHub:
#891 (comment)

Frederic ELISEI http://www.gipsa-lab.fr/~frederic.elisei/
(33-4) 76574539 mailto:/Frederic.Elisei@gipsa-lab.grenoble-inp.fr

@drdanz drdanz changed the title Shall yarp module Microphone be deprecated? YARP Microphone module should be deprecated Nov 10, 2016
@drdanz drdanz self-assigned this Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants