(In reply to rkfg from comment #7)
> Created attachment 111536 [details]
> ALSA time test
>
> The output of alsa-time-test.c
>
> It ends with:
> a.out: alsa-time-test.c:244: main: Assertion `(unsigned) avail <=
> buffer_size' failed.
> zsh: abort ./a.out > timetest.log
>
> I think it's ok.
how did you run the program ?
the program is hardcoded to use 44100Hz , it should run continously without any error if fillrate is equal to period size
if sound card can report hw_ptr with better grannularity, the program can still run continously when fillrate is smaller than period size (e.g. dma brust size )
(In reply to rkfg from comment #7) test.c: 244: main: Assertion `(unsigned) avail <=
> Created attachment 111536 [details]
> ALSA time test
>
> The output of alsa-time-test.c
>
> It ends with:
> a.out: alsa-time-
> buffer_size' failed.
> zsh: abort ./a.out > timetest.log
>
> I think it's ok.
how did you run the program ?
the program is hardcoded to use 44100Hz , it should run continously without any error if fillrate is equal to period size
if sound card can report hw_ptr with better grannularity, the program can still run continously when fillrate is smaller than period size (e.g. dma brust size )