| 1008 | } |
| 1009 | |
| 1010 | static uae_u32 command_volume (int unitnum, uae_u16 volume_left, uae_u16 volume_right) |
| 1011 | { |
| 1012 | struct cdunit *cdu = unitisopen (unitnum); |
| 1013 | if (!cdu) |
| 1014 | return -1; |
| 1015 | uae_u32 old = (cdu->cdda_volume[1] << 16) | (cdu->cdda_volume[0] << 0); |
| 1016 | cdu->cdda_volume[0] = volume_left; |
| 1017 | cdu->cdda_volume[1] = volume_right; |
| 1018 | return old; |
| 1019 | } |
| 1020 | |
| 1021 | extern void encode_l2 (uae_u8 *p, int address); |
| 1022 |
nothing calls this directly
no test coverage detected