![]() |
![]() |
![]() |
Convert size in samples to bytes
#include <sys/asoundlib.h> ssize_t snd_pcm_format_size( int format, size_t samples );
libasound.so
The snd_pcm_format_size() function converts the size in samples to bytes according to given format.
A positive value on success, or an error code.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |