CHDK_DE Vorschauversion
Trunk Rev. 6014
Hauptseite
Datenstrukturen
Dateien
Auflistung der Dateien
Datei-Elemente
Alle
Datenstrukturen
Dateien
Funktionen
Variablen
Typdefinitionen
Aufzählungen
Aufzählungswerte
Makrodefinitionen
Funktionen
sound.h-Dateireferenz
Dieser Graph zeigt, welche Datei direkt oder indirekt diese Datei enthält:
gehe zum Quellcode dieser Datei
Funktionen
void
play_sound
(unsigned sound)
Dokumentation der Funktionen
void play_sound
(
unsigned
sound
)
Definiert in Zeile
291
der Datei
wrappers.c
.
292
{
293
static
const
int
sounds[]={ 0x2001,
//startup sound
294
0x2002,
//shutter sound
295
0x2003,
//button press sound
296
0x2004,
//self-timer sound
297
0xC211,
//short beep
298
50000,
// AF confirmation
299
0xC507,
// error beep imo
300
0x400D,
// LONG ERROR BEEP CONTINIUOUS- warning, cannot be stopped (yet)
301
};
302
if
(sound >=
sizeof
(sounds)/
sizeof
(sounds[0]))
303
return
;
304
305
_PT_PlaySound
(sounds[sound], 0, 0);
306
}
include
sound.h
Erzeugt am Sam Aug 21 2021 11:28:47 für CHDK_DE Vorschauversion von
1.8.3.1-20130512