Mercurial > audlegacy-plugins
comparison src/neon/neon.c @ 2568:92f6d0503c04
- Print the EOF status in _feof()
author | Ralf Ertzinger <ralf@skytale.net> |
---|---|
date | Fri, 16 May 2008 14:43:59 +0200 |
parents | a9d6ce7b8c68 |
children | 049f212e7e00 |
comparison
equal
deleted
inserted
replaced
2567:a9d6ce7b8c68 | 2568:92f6d0503c04 |
---|---|
1019 _ERROR("<%p> Error creating reader thread!", h); | 1019 _ERROR("<%p> Error creating reader thread!", h); |
1020 _LEAVE 0; | 1020 _LEAVE 0; |
1021 } | 1021 } |
1022 h->reader_status.status = NEON_READER_RUN; | 1022 h->reader_status.status = NEON_READER_RUN; |
1023 } else { | 1023 } else { |
1024 _DEBUG("<%p> No reader thread needed (stream has reached EOF during fill", h); | 1024 _DEBUG("<%p> No reader thread needed (stream has reached EOF during fill)", h); |
1025 h->reader_status.reading = FALSE; | 1025 h->reader_status.reading = FALSE; |
1026 h->reader_status.status = NEON_READER_EOF; | 1026 h->reader_status.status = NEON_READER_EOF; |
1027 } | 1027 } |
1028 g_mutex_unlock(h->reader_status.mutex); | 1028 g_mutex_unlock(h->reader_status.mutex); |
1029 } | 1029 } |
1228 | 1228 |
1229 struct neon_handle* h = (struct neon_handle*)file->handle; | 1229 struct neon_handle* h = (struct neon_handle*)file->handle; |
1230 | 1230 |
1231 _ENTER; | 1231 _ENTER; |
1232 | 1232 |
1233 _DEBUG("<%p> EOF status: %s", h, h->eof?"TRUE":"FALSE"); | |
1234 | |
1233 _LEAVE h->eof; | 1235 _LEAVE h->eof; |
1234 } | 1236 } |
1235 | 1237 |
1236 /* | 1238 /* |
1237 * ----- | 1239 * ----- |