Problems with async handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



alsa-project/alsa-lib issue #438 was edited 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 434.

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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux