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

Comparing BasiliskII/src/Unix/Solaris/audio_solaris.cpp (file contents):
Revision 1.2 by cebix, 1999-10-20T15:13:58Z vs.
Revision 1.3 by cebix, 1999-11-03T10:56:32Z

# Line 210 | Line 210 | static void *stream_func(void *arg)
210                                          write(fd, Mac2HostAddr(ReadMacInt32(apple_stream_info + scd_buffer)), sound_buffer_size);
211                                  else {
212                                          // Last buffer
213 <                                        memcpy(last_buffer, Mac2HostAddr(ReadMacInt32(apple_stream_info + scd_buffer)), work_size);
213 >                                        Mac2Host_memcpy(last_buffer, ReadMacInt32(apple_stream_info + scd_buffer), work_size);
214                                          memset((uint8 *)last_buffer + work_size, 0, sound_buffer_size - work_size);
215                                          write(fd, last_buffer, sound_buffer_size);
216                                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines