blob: fbc14c98da71c31338c361e4d624a091118a071a (
plain) (
blame)
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
|
/*
Vita Development Suite Libraries
*/
#ifndef _VDSUITE_KERNEL_CLOCKGEN_H
#define _VDSUITE_KERNEL_CLOCKGEN_H
#include <stdint.h>
#include <stdbool.h>
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
extern "C" {
#endif /* defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) */
// idx < 3
int sceClockgenGetRegValue(uint32_t idx);
// 44100 or 48000, default 48000
int sceClockgenAudioClkSetSamplingFreq(uint32_t frequency);
int sceClockgenSetSpectrumSpreading(int mode);
// changes behaviour of sceClockgenInit(), default true
int sceClockgenSetProtocol(bool protocol);
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
}
#endif /* defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) */
#endif /* _VDSUITE_KERNEL_CLOCKGEN_H */
|