diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-17 19:36:12 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-17 19:36:12 +0200 |
commit | 761aae931b03099118720a01f0ec41b09ccc8acc (patch) | |
tree | 1703c14e70e284db5ba7ae38e42646b1f261a19b /main.c | |
parent | 8df9da39d2252ee3aa6f5b2b880074a362298501 (diff) |
resume playback after suspend
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -329,6 +329,11 @@ player_thread (uintptr_t ctx) { uint32_t p2; while (messagepump_pop(&msg, &ctx, &p1, &p2) != -1) { switch (msg) { + case M_REINIT_SOUND: + palsa_free (); + palsa_init (); + palsa_play (); + break; case M_TERMINATE: GDK_THREADS_ENTER(); gtk_widget_hide (mainwin); |