Problems with async handler
A message that is not in the archive (sent off-list or not yet received): [email protected]
alsa-project/alsa-lib issue #438 was opened from m-paq:
Hi, I'm currently working on a project and I'm trying to use the async handler through snd_async_add_pcm_handler.
I don't really understand where the issue comes from and how to debug it but I keep getting an error on this function call in my project.
To try to figure out what's wrong I went in the test files and tried to run the test file pcm.c and added a print of the error code (snd_strerror) Compiling with: gcc pcm.c -o test_pcm -lasound -lm
Running it with ./test_pcm -m async
But it keeps giving me the following output:
``` Playback device is default Stream parameters are 44100Hz, S16_LE, 1 channels Sine wave rate is 440.0000Hz Using transfer method: async Unable to register async handler Function not implemented ```
from line 441.
I am able to run it in write mode with the correct behaviour, so my question is:
**Is this an issue with the device or is it an issue somewhere else?**
If ever this is not the correct place to ask this question please refer me to a more adequate place.
Thanks to anyone that can help me!
Issue URL : https://github.com/alsa-project/alsa-lib/issues/438
Repository URL: https://github.com/alsa-project/alsa-lib