Changeset 169:f5d9e0f96226 in verona for phapi/phapi.c
- Timestamp:
- Apr 20, 2011 3:13:00 PM (2 years ago)
- Branch:
- default
- Children:
- 170:8385fd93bed9, 201:c2037140d011
- File:
-
- 1 edited
-
phapi/phapi.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
phapi/phapi.c
r167 r169 3091 3091 phPlaySoundFile(const char *fileName , int loop, const char * deviceid) 3092 3092 { 3093 if (!phIsInitialized) 3094 return NULL; 3095 3093 3096 return phms_audio_play_sound_file(fileName,loop,deviceid,phcb->soundFileStopped); 3094 3097 } … … 3097 3100 phSetSoundFileGain( phStream * stream, float gain) 3098 3101 { 3102 if (!phIsInitialized) 3103 return -PH_NOTINIT; 3104 3099 3105 return phms_audio_set_sound_file_gain(stream,gain); 3100 3106 } … … 3122 3128 phStopSoundFile( phStream * stream) 3123 3129 { 3130 if (!phIsInitialized) 3131 return -PH_NOTINIT; 3132 3124 3133 return phms_audio_stop_sound_file(stream); 3125 3134 }
Note: See TracChangeset
for help on using the changeset viewer.
