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

Comparing BasiliskII/src/BeOS/audio_beos.cpp (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:25Z vs.
Revision 1.3 by cebix, 1999-11-03T10:56:19Z

# Line 227 | Line 227 | static void playbuffer_func(void *arg, v
227                          }
228  
229                          // Place data into Media Kit buffer
230 <                        memcpy(buf, Mac2HostAddr(ReadMacInt32(apple_stream_info + scd_buffer)), work_size);
230 >                        Mac2Host_memcpy(buf, ReadMacInt32(apple_stream_info + scd_buffer), work_size);
231                          if (work_size != size)
232                                  memset((uint8 *)buf + work_size, 0, size - work_size);
233                  }
# Line 306 | Line 306 | uint32 audio_get_main_volume(void)
306                  return 0x01000100;
307   }
308  
309 < bool audio_get_dac_mute(void)
309 > bool audio_get_speaker_mute(void)
310   {
311          return false;
312   }
313  
314 < uint32 audio_get_dac_volume(void)
314 > uint32 audio_get_speaker_volume(void)
315   {
316          return 0x01000100;
317   }
# Line 329 | Line 329 | void audio_set_main_volume(uint32 vol)
329          }
330   }
331  
332 < void audio_set_dac_mute(bool mute)
332 > void audio_set_speaker_mute(bool mute)
333   {
334   }
335  
336 < void audio_set_dac_volume(uint32 vol)
336 > void audio_set_speaker_volume(uint32 vol)
337   {
338   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines