summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-04 17:20:41 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-04 17:20:41 +0300
commitefb40105d657da935d3854e6ea7a513c6210224b (patch)
tree0327d88d68c0a402f0f90307756bb8536c54dc8b /src/gmdocument.h
parent25346114f96a29e8af6125e0cac3d5f8a2ffd551 (diff)
Working on audio playback
Audio players are displayed the same way as images. When playing, a decoder runs in a background thread producing samples suitable for output.
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r--src/gmdocument.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h
index a04398d9..19a6036f 100644
--- a/src/gmdocument.h
+++ b/src/gmdocument.h
@@ -132,7 +132,8 @@ const iGmRun * findRun_GmDocument (const iGmDocument *, iInt2 pos);
132const char * findLoc_GmDocument (const iGmDocument *, iInt2 pos); 132const char * findLoc_GmDocument (const iGmDocument *, iInt2 pos);
133const iGmRun * findRunAtLoc_GmDocument (const iGmDocument *, const char *loc); 133const iGmRun * findRunAtLoc_GmDocument (const iGmDocument *, const char *loc);
134const iString * linkUrl_GmDocument (const iGmDocument *, iGmLinkId linkId); 134const iString * linkUrl_GmDocument (const iGmDocument *, iGmLinkId linkId);
135uint16_t linkImage_GmDocument (const iGmDocument *, iGmLinkId linkId); 135iMediaId linkImage_GmDocument (const iGmDocument *, iGmLinkId linkId);
136iMediaId linkAudio_GmDocument (const iGmDocument *, iGmLinkId linkId);
136int linkFlags_GmDocument (const iGmDocument *, iGmLinkId linkId); 137int linkFlags_GmDocument (const iGmDocument *, iGmLinkId linkId);
137enum iColorId linkColor_GmDocument (const iGmDocument *, iGmLinkId linkId, enum iGmLinkPart part); 138enum iColorId linkColor_GmDocument (const iGmDocument *, iGmLinkId linkId, enum iGmLinkPart part);
138const iTime * linkTime_GmDocument (const iGmDocument *, iGmLinkId linkId); 139const iTime * linkTime_GmDocument (const iGmDocument *, iGmLinkId linkId);