Sensoray 2250 Linux Ver2.0.X Manual de usuario Pagina 13

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 18
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 12
unsigned char *pBuf,
int*buflen
);
Gets audio samples. Call with buflen set to size of sample requested. Returns actual
size of samples. See sraydemo.c for an example of SN_GetAudioData.
Parameters
board
board number in the system (use 0 for single board setups).
pBuf
pointer to buffer to get samples
buflen
length of buffer
Returns
0 on success, negative value if error
int SN_GetAudioDataPlusTime(
int board,
UINT8 *pBuf,
SINT32*buflen,
int *tv_sec,
int *tv_usec,
);
Gets audio samples plus timestamp. Call with buflen set to size of sample requested.
Returns actual size of samples. Also returns audio timestamp in tv_sec and tv_usec.
Parameters
board
board number in the system (use 0 for single board setups).
pBuf
pointer to buffer to get samples
buflen
length of buffer
tv_sec
returned timestamp in seconds
tv_usec
returned microsecond component of timestamp
Returns
1
Vista de pagina 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18

Comentarios a estos manuales

Sin comentarios