(value byte)
| 801 | } |
| 802 | |
| 803 | func (d *DMC) writeAddress(value byte) { |
| 804 | // Sample address = %11AAAAAA.AA000000 |
| 805 | d.sampleAddress = 0xC000 | (uint16(value) << 6) |
| 806 | } |
| 807 | |
| 808 | func (d *DMC) writeLength(value byte) { |
| 809 | // Sample length = %0000LLLL.LLLL0001 |