Hi,
> You've made this stupid bug:
>
> data = (unsigned char *)calloc(SAMPLES*4, 0);
>
> should be:
>
> data = (unsigned char *)calloc(periodsize*4, 1);
thank you so very much for that hint, that was the proble
ery great if somebody
had a hint for me on that one. I tried to find the source of
the problem, but i didn't succeed.
Thanks,
Torsten.
#define _GNU_SOURCE
#include
#include
#include
#include
#include
#include
#include
//#include "sound.h"
//#include "settings.h"
#if
Hi,
thanks for that hint.
But sadly, the attached program doesn't work, though
i set stop_threshold to 0. I didn't find any functions
to set buffersize to 0, it doesn't seem to be in the
software parameters.
It would be great, if anybody had a hint.
Regards,
Torsten.
>
en. The behaviour above (with sleep(1))
is a good example for what i want to do.
Can anybody tell me what i need to change to make
the program work ok?
Thanks for any hints,
Torsten.
---
The SF.Net email is sponsored by EclipseCon 2004
Pr
ge it to work?
I think i need to add calls to snd_pcm_pause()?
Thanks for any hints,
Torsten.
---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity.
ectly ok, if the data buffers that are captured are
not consecutive.
The code basically works, but whenever i try to capture the
buffer a SECOND time, the whole program crashes.
Has anybody got a hint for me on what could be wrong?
Thanks for any hints,
Torsten.
#define _GNU_SOURCE
#include
#in
i thought it's fixed on kde cvs...
I have searched bugs.kde.org, but I find no mention.
It may be fixed in CVS, I'm using release 3.1.
Torsten
---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =
aders into /usr/include?
Torsten
---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Alsa-devel mailing list
[EMAIL P
Hi,
thank you for your answer, it cleared things
quite up for me, i think i know now what to
do.
Best regards,
Torsten.
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Hi everybody,
i don't know, is my question off-topic?
Where can i get some help?
Would it help to mail the sources?
Is it an obvious mistake i make?
I really tried to describe the problem in detail, are there
any important points missing?
Best regards,
To
ync_handler to inform my program when
a started sample is played completely. How can i do this? It seems
that the handler is called (buffer_time/period_time) times during
each sample, is that correct?
Best regards,
Torsten.
http://www.s.netic.de/tmohr/linux.html
__
11 matches
Mail list logo