blob: d9d7f66798c83d97d7a747eadfe7e13fcc1da6b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/* ------------- routines for Apple AudioUnit in AudioToolbox -------------- */
#ifdef USEAPI_AUDIOUNIT
/* this is currently a placeholder file while we decide which one of three implementations of this API we use */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "m_pd.h"
#include "s_stuff.h"
#include <AudioToolbox/AudioToolbox.h>
pthread_mutex_t audiounit_mutex;
pthread_cond_t audiounit_sem;
int audiounit_open_audio(int inchans, int outchans, int rate)
{
return 0;
}
void audiounit_close_audio(void)
{
}
int audiounit_send_dacs(void)
{
return 0;
}
void audiounit_getdevs(char *indevlist, int *nindevs,
char *outdevlist, int *noutdevs, int *canmulti,
int maxndev, int devdescsize)
{
post("device getting not implemented for AudioUnit yet\n");
}
void audiounit_listdevs( void)
{
post("device listing not implemented for AudioUnit yet\n");
}
#endif /* AUDIOUNIT */
|