Cocoa Port: Clean out utilities.c a little bit more.
This commit is contained in:
parent
669487ff05
commit
07a68dbb7a
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include "audiosamplegenerator.h"
|
#include "audiosamplegenerator.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <string.h>
|
||||||
#include "cocoa_globals.h"
|
#include "cocoa_globals.h"
|
||||||
|
|
||||||
#define NUM_INTERNAL_NOISE_SAMPLES 32
|
#define NUM_INTERNAL_NOISE_SAMPLES 32
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#define _AUDIO_SAMPLE_GENERATOR_
|
#define _AUDIO_SAMPLE_GENERATOR_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
||||||
class AudioGenerator
|
class AudioGenerator
|
||||||
|
|
|
@ -16,14 +16,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
#include <Accelerate/Accelerate.h>
|
#include <ApplicationServices/ApplicationServices.h>
|
||||||
|
|
||||||
static const uint8_t bits5to8[] = {
|
|
||||||
0x00, 0x08, 0x10, 0x19, 0x21, 0x29, 0x31, 0x3A,
|
|
||||||
0x42, 0x4A, 0x52, 0x5A, 0x63, 0x6B, 0x73, 0x7B,
|
|
||||||
0x84, 0x8C, 0x94, 0x9C, 0xA5, 0xAD, 0xB5, 0xBD,
|
|
||||||
0xC5, 0xCE, 0xD6, 0xDE, 0xE6, 0xEF, 0xF7, 0xFF
|
|
||||||
};
|
|
||||||
|
|
||||||
static CFStringRef OSXProductName = NULL;
|
static CFStringRef OSXProductName = NULL;
|
||||||
static CFStringRef OSXProductVersion = NULL;
|
static CFStringRef OSXProductVersion = NULL;
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#ifndef _COCOA_PORT_UTILITIES_
|
#ifndef _COCOA_PORT_UTILITIES_
|
||||||
#define _COCOA_PORT_UTILITIES_
|
#define _COCOA_PORT_UTILITIES_
|
||||||
|
|
||||||
#include <ApplicationServices/ApplicationServices.h>
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue