diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-03-03 07:39:46 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-03-03 07:39:46 +1000 |
commit | 43527de2c09eb90e5c1cebbce587b5da2bda957d (patch) | |
tree | c2d8aed141483f9a8fb9d82c82853e9425c58f14 /src/gaudout/driver.h | |
parent | 17f1f9d7990461cbdb7b40d42b310321ca47b776 (diff) | |
download | uGFX-43527de2c09eb90e5c1cebbce587b5da2bda957d.tar.gz uGFX-43527de2c09eb90e5c1cebbce587b5da2bda957d.tar.bz2 uGFX-43527de2c09eb90e5c1cebbce587b5da2bda957d.zip |
Updates to GAUDOUT to allow specification of the sample format.
Fix threading issues.
Diffstat (limited to 'src/gaudout/driver.h')
-rw-r--r-- | src/gaudout/driver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gaudout/driver.h b/src/gaudout/driver.h index cd9ab01b..8e72dff4 100644 --- a/src/gaudout/driver.h +++ b/src/gaudout/driver.h @@ -62,12 +62,13 @@ void gaudoutReleaseDataBlockI(GAudioData *paud); * * @param[in] channel The channel to use (see the driver for the available channels provided) * @param[in] frequency The sample frequency to use + * @param[in] format The sample format * * @note The driver will always have been stopped and de-init before this is called. * * @api */ -bool_t gaudout_lld_init(uint16_t channel, uint32_t frequency); +bool_t gaudout_lld_init(uint16_t channel, uint32_t frequency, ArrayDataFormat format); /** * @brief De-Initialise the driver |