Skip to content

Commit 22f7003

Browse files
authored
Merge pull request #271 from sblondon/fix-function-warnings
doc: search improvement and link to constants
2 parents 4c2841e + c302bae commit 22f7003

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Doxyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ ENABLE_PREPROCESSING = YES
20852085
# The default value is: NO.
20862086
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
20872087

2088-
MACRO_EXPANSION = NO
2088+
MACRO_EXPANSION = YES
20892089

20902090
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
20912091
# the macro expansion is limited to the macros specified with the PREDEFINED and
@@ -2125,7 +2125,7 @@ INCLUDE_FILE_PATTERNS =
21252125
# recursively expanded use the := operator instead of the = operator.
21262126
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
21272127

2128-
PREDEFINED =
2128+
PREDEFINED = __attribute__(x)=
21292129

21302130
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
21312131
# tag can be used to specify a list of macro names that should be expanded. The

src/prof/pspprof.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ extern "C" {
2424
*/
2525
__attribute__((__no_instrument_function__, __no_profile_instrument_function__))
2626
void gprof_start(void);
27+
2728
/**
2829
* Stop the profiler.
2930
* If the profiler is not running, this function does nothing.

src/vaudio/pspvaudio.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ int sceVaudioOutputBlocking(int volume, void *buffer);
6262
* output call. One of 256, 576, 1024, 1152, 2048.
6363
* It must be a value between ::PSP_VAUDIO_SAMPLE_MIN and ::PSP_VAUDIO_SAMPLE_MAX.
6464
* @param frequency - The frequency. One of 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11050, 8000.
65-
* @param format - The output format to use for the channel. One of ::PSP_VAUDIO_FORMAT_
65+
* @param format - The output format to use for the channel. One of ::PSP_VAUDIO_FORMAT_MONO or ::PSP_VAUDIO_FORMAT_STEREO
6666
*
6767
* @return 0 if success, < 0 on error.
6868
*/
@@ -78,7 +78,7 @@ int sceVaudioChRelease(void);
7878
/**
7979
* Set effect type
8080
*
81-
* @param effect - The effect type. One of ::PSP_VAUDIO_EFFECT_
81+
* @param effect - The effect type. One of ::PSP_VAUDIO_EFFECT_OFF or ::PSP_VAUDIO_EFFECT_HEAVY or ::PSP_VAUDIO_EFFECT_POPS or ::PSP_VAUDIO_EFFECT_JAZZ or ::PSP_VAUDIO_EFFECT_UNIQUE or ::PSP_VAUDIO_EFFECT_MAX
8282
* @param volume - The volume. It must be a value between 0 and ::PSP_VAUDIO_VOLUME_MAX
8383
*
8484
* @return The volume value on success, < 0 on error.
@@ -88,7 +88,7 @@ int sceVaudioSetEffectType(int effect, int volume);
8888
/**
8989
* Set ALC(dynamic normalizer)
9090
*
91-
* @param mode - The mode. One of ::PSP_VAUDIO_ALC_
91+
* @param mode - The mode. One of ::PSP_VAUDIO_ALC_OFF or ::PSP_VAUDIO_ALC_MODE1 or ::PSP_VAUDIO_ALC_MODE_MAX
9292
*
9393
* @return 0 if success, < 0 on error.
9494
*/

0 commit comments

Comments
 (0)