Changeset 1338

Show
Ignore:
Timestamp:
02/15/08 02:50:00 (7 months ago)
Author:
rossb
Message:

replaced bzero() with memset() thanks pete ross

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • portaudio/branches/v19-devel/test/patest_read_write_wire.c

    r1270 r1338  
    6161#define SAMPLE_SIZE (4) 
    6262#define SAMPLE_SILENCE  (0.0f) 
    63 #define CLEAR(a) bzero( (a), FRAMES_PER_BUFFER * NUM_CHANNELS * SAMPLE_SIZE ) 
     63#define CLEAR(a) memset( (a), 0, FRAMES_PER_BUFFER * NUM_CHANNELS * SAMPLE_SIZE ) 
    6464#define PRINTF_S_FORMAT "%.8f" 
    6565#elif 0 
     
    6767#define SAMPLE_SIZE (2) 
    6868#define SAMPLE_SILENCE  (0) 
    69 #define CLEAR(a) bzero( (a),  FRAMES_PER_BUFFER * NUM_CHANNELS * SAMPLE_SIZE ) 
     69#define CLEAR(a) memset( (a), 0,  FRAMES_PER_BUFFER * NUM_CHANNELS * SAMPLE_SIZE ) 
    7070#define PRINTF_S_FORMAT "%d" 
    7171#elif 1 
     
    7373#define SAMPLE_SIZE (3) 
    7474#define SAMPLE_SILENCE  (0) 
    75 #define CLEAR(a) bzero( (a),  FRAMES_PER_BUFFER * NUM_CHANNELS * SAMPLE_SIZE ) 
     75#define CLEAR(a) memset( (a), 0,  FRAMES_PER_BUFFER * NUM_CHANNELS * SAMPLE_SIZE ) 
    7676#define PRINTF_S_FORMAT "%d" 
    7777#elif 0 
     
    7979#define SAMPLE_SIZE (1) 
    8080#define SAMPLE_SILENCE  (0) 
    81 #define CLEAR(a) bzero( (a),  FRAMES_PER_BUFFER * NUM_CHANNELS * SAMPLE_SIZE ) 
     81#define CLEAR(a) memset( (a), 0,  FRAMES_PER_BUFFER * NUM_CHANNELS * SAMPLE_SIZE ) 
    8282#define PRINTF_S_FORMAT "%d" 
    8383#else