ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/audio_oss_esd.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/audio_oss_esd.cpp (file contents):
Revision 1.2 by cebix, 1999-10-25T19:01:34Z vs.
Revision 1.3 by cebix, 1999-11-03T10:56:22Z

# Line 326 | Line 326 | static void *stream_func(void *arg)
326                                                  for (int i=0; i<work_size/2; i++)
327                                                          last_buffer[i] = ntohs(p[i]);
328                                          } else
329 <                                                memcpy(last_buffer, Mac2HostAddr(ReadMacInt32(apple_stream_info + scd_buffer)), work_size);
329 >                                                Mac2Host_memcpy(last_buffer, ReadMacInt32(apple_stream_info + scd_buffer), work_size);
330                                          memset((uint8 *)last_buffer + work_size, silence_byte, sound_buffer_size - work_size);
331                                          write(audio_fd, last_buffer, sound_buffer_size);
332                                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines