trunk/src/emu/sound/k053260.c
r32714 | r32715 | |
318 | 318 | m_position = 0; |
319 | 319 | m_counter = 0; |
320 | 320 | m_output = 0; |
321 | | m_playing = false; |
| 321 | m_playing = 0; |
322 | 322 | m_start = 0; |
323 | 323 | m_length = 0; |
324 | 324 | m_pitch = 0; |
325 | 325 | m_volume = 0; |
326 | 326 | m_pan = 0; |
327 | | m_loop = false; |
| 327 | m_loop = 0; |
328 | 328 | m_kadpcm = 0; |
329 | 329 | update_pan_volume(); |
330 | 330 | } |
r32714 | r32715 | |
392 | 392 | m_position = m_kadpcm; // for kadpcm low bit is nybble offset, so must start at 1 due to preincrement |
393 | 393 | m_counter = 0x1000 - CLOCKS_PER_SAMPLE; // force update on next sound_stream_update |
394 | 394 | m_output = 0; |
395 | | m_playing = true; |
| 395 | m_playing = 1; |
396 | 396 | if (LOG) logerror("K053260: start = %06x, length = %06x, pitch = %04x, vol = %02x, loop = %s, %s\n", |
397 | 397 | m_start, m_length, m_pitch, m_volume, m_loop ? "yes" : "no", m_kadpcm ? "KADPCM" : "PCM" ); |
398 | 398 | } |
r32714 | r32715 | |
402 | 402 | { |
403 | 403 | m_position = 0; |
404 | 404 | m_output = 0; |
405 | | m_playing = false; |
| 405 | m_playing = 0; |
406 | 406 | } |
407 | 407 | |
408 | 408 | void k053260_device::KDSC_Voice::play(stream_sample_t *outputs) |
r32714 | r32715 | |
432 | 432 | } |
433 | 433 | else |
434 | 434 | { |
435 | | m_playing = false; |
| 435 | m_playing = 0; |
436 | 436 | return; |
437 | 437 | } |
438 | 438 | } |