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 |
|
} |
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 |
|
} |
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 |
|
} |