diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 14:30:31 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 14:30:31 +1000 |
commit | 215f31ee3dd27f461540384cdba04b58b481fadc (patch) | |
tree | 1a100121d47819202187914dc4a321cfb7030351 /src/gaudio/gaudio.c | |
parent | e23ae94e91369501df310bc3afd4ab711d263cab (diff) | |
download | uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.gz uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.tar.bz2 uGFX-215f31ee3dd27f461540384cdba04b58b481fadc.zip |
Added type gDelay to replace V2.x delaytime_t
Added type gTicks to replace V2.x systemticks_t
Added type gThreadreturn to replace V2.x threadreturn_t
Added type gThreadpriority to replace V2.x threadpriority_t
Diffstat (limited to 'src/gaudio/gaudio.c')
-rw-r--r-- | src/gaudio/gaudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gaudio/gaudio.c b/src/gaudio/gaudio.c index 8311d8cb..273e927f 100644 --- a/src/gaudio/gaudio.c +++ b/src/gaudio/gaudio.c @@ -119,7 +119,7 @@ void _gaudioDeinit(void) return gaudio_play_lld_set_volume(vol); } - gBool gaudioPlayWait(delaytime_t ms) { + gBool gaudioPlayWait(gDelay ms) { if (!(playFlags & PLAYFLG_PLAYING)) return gTrue; return gfxSemWait(&playComplete, ms); @@ -213,7 +213,7 @@ void _gaudioDeinit(void) gfxBufferRelease(pd); } - GDataBuffer *gaudioRecordGetData(delaytime_t ms) { + GDataBuffer *gaudioRecordGetData(gDelay ms) { return (GDataBuffer *)gfxQueueGSyncGet(&recordList, ms); } |