diff options
author | Max Kellermann <max@duempel.org> | 2009-01-25 13:44:27 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-25 13:44:27 +0100 |
commit | ac0e799965afef198e3cba1eb11f018cae680ac3 (patch) | |
tree | d63667b1e2f26a4b1b29d1f2724fae7504a6ed0e /src/decoder_control.h | |
parent | 2c45224be72e06463ddd48956ecaef61da9dfecb (diff) | |
download | mpd-ac0e799965afef198e3cba1eb11f018cae680ac3.tar.gz mpd-ac0e799965afef198e3cba1eb11f018cae680ac3.tar.xz mpd-ac0e799965afef198e3cba1eb11f018cae680ac3.zip |
decoder_control: added decoder_control.thread
decoder_control.thread contains the handle of the decoder thread, or
NULL if the decoder thread isn't running.
Diffstat (limited to 'src/decoder_control.h')
-rw-r--r-- | src/decoder_control.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/decoder_control.h b/src/decoder_control.h index 4fd0f9edc..542cfe78a 100644 --- a/src/decoder_control.h +++ b/src/decoder_control.h @@ -45,6 +45,10 @@ enum decoder_state { }; struct decoder_control { + /** the handle of the decoder thread, or NULL if the decoder + thread isn't running */ + GThread *thread; + struct notify notify; volatile enum decoder_state state; @@ -124,6 +128,6 @@ bool dc_seek(struct notify *notify, double where); void -dc_quit(struct notify *notify); +dc_quit(void); #endif |