Mercurial > audlegacy-plugins
comparison src/madplug/plugin.c @ 1447:195b5657303e
updated input plugins to use set_pb_ready to signal to the core that they're ready for playback
| author | Giacomo Lozito <james@develia.org> |
|---|---|
| date | Fri, 10 Aug 2007 22:00:07 +0200 |
| parents | 4993976d7ed0 |
| children | 3127da6ae5da |
comparison
equal
deleted
inserted
replaced
| 1446:78de16e6989c | 1447:195b5657303e |
|---|---|
| 467 info.playback = playback; | 467 info.playback = playback; |
| 468 info.playback->playing = 1; | 468 info.playback->playing = 1; |
| 469 g_mutex_unlock(pb_mutex); | 469 g_mutex_unlock(pb_mutex); |
| 470 | 470 |
| 471 decode_thread = g_thread_self(); | 471 decode_thread = g_thread_self(); |
| 472 playback->set_pb_ready(playback); | |
| 472 decode_loop(&info); | 473 decode_loop(&info); |
| 473 } | 474 } |
| 474 | 475 |
| 475 static void audmad_pause(InputPlayback *playback, short paused) | 476 static void audmad_pause(InputPlayback *playback, short paused) |
| 476 { | 477 { |
