Mercurial > hg > beaglert
diff include/Bela.h @ 528:5c8f46fcd4d0 API-update
Updated BelaContext to use separate values for in/ou channels
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Thu, 23 Jun 2016 18:17:35 +0100 |
parents | 00725dfc1b87 |
children | bfcbeb437869 |
line wrap: on
line diff
--- a/include/Bela.h Thu Jun 23 18:15:26 2016 +0100 +++ b/include/Bela.h Thu Jun 23 18:17:35 2016 +0100 @@ -206,8 +206,10 @@ /// Number of audio frames per period const uint32_t audioFrames; - /// Number of audio channels (currently always 2) - const uint32_t audioChannels; + /// Number of input audio channels + const uint32_t audioInChannels; + /// Number of output audio channels + const uint32_t audioOutChannels; /// Audio sample rate in Hz (currently always 44100.0) const float audioSampleRate; @@ -216,10 +218,15 @@ /// This will be 0 if analog I/O is disabled. const uint32_t analogFrames; - /// \brief Number of analog channels + /// \brief Number of input analog channels /// - /// This could take a value of 8, 4 or 2. This will be 0 if analog I/O is disabled. - const uint32_t analogChannels; + /// This will be 0 if analog I/O is disabled. + const uint32_t analogInChannels; + + /// \brief Number of output analog channels + /// + /// This will be 0 if analog I/O is disabled. + const uint32_t analogOutChannels; /// \brief Analog sample rate in Hz ///