Updated: October 28, 2024 |
Convert the size in the given samples to bytes
#include <sys/asoundlib.h> ssize_t snd_pcm_format_size( int format, size_t num_samples );
The snd_pcm_format_size() function calculates the size, in bytes, of num_samples samples of data in the given format.
A positive value on success, or a negative error code.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |