Created
October 20, 2011 10:11
-
-
Save 2bits/1300815 to your computer and use it in GitHub Desktop.
Patch for AudioCore/ADM_deviceAudioCore.h to fix the channels to be uint32_t not uint8_t
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/plugins/ADM_audioDevices/AudioCore/ADM_deviceAudioCore.h 2008-07-03 12:29:25.000000000 -0700 | |
| +++ b/plugins/ADM_audioDevices/AudioCore/ADM_deviceAudioCore.h 2011-10-20 03:06:58.000000000 -0700 | |
| @@ -17,7 +17,7 @@ | |
| uint8_t _inUse; | |
| public: | |
| coreAudioDevice(void); | |
| - virtual uint8_t init(uint8_t channels, uint32_t fq); | |
| + virtual uint8_t init(uint32_t channels, uint32_t fq); | |
| virtual uint8_t play(uint32_t len, float *data); | |
| virtual uint8_t stop(void); | |
| virtual uint8_t setVolume(int volume); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment