Changeset 485
- Timestamp:
- 03/08/07 17:59:09 (1 year ago)
- Files:
-
- sweep/trunk/src/driver_alsa.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sweep/trunk/src/driver_alsa.c
r483 r485 321 321 int err; 322 322 323 uframes = count / handle->driver_channels;323 uframes = handle->driver_channels > 0 ? count / handle->driver_channels : 0; 324 324 325 325 err = snd_pcm_readi (pcm_handle, buf, uframes); … … 362 362 /*printf ("sweep: alsa_write \n");*/ 363 363 364 uframes = count / handle->driver_channels;364 uframes = handle->driver_channels > 0 ? count / handle->driver_channels : 0; 365 365 //printf ("sweep: alsa_write 1\n"); 366 366
