00001 /* 00002 * Copyright (C) 2003-2009 Olivier Boudeville 00003 * 00004 * This file is part of the OSDL library. 00005 * 00006 * The OSDL library is free software: you can redistribute it and/or modify 00007 * it under the terms of either the GNU Lesser General Public License or 00008 * the GNU General Public License, as they are published by the Free Software 00009 * Foundation, either version 3 of these Licenses, or (at your option) 00010 * any later version. 00011 * 00012 * The OSDL library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU Lesser General Public License and the GNU General Public License 00016 * for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License and of the GNU General Public License along with the OSDL library. 00020 * If not, see <http://www.gnu.org/licenses/>. 00021 * 00022 * Author: Olivier Boudeville (olivier.boudeville@esperide.com) 00023 * 00024 */ 00025 00026 00027 #ifndef OSDL_IPC_COMMANDS_H_ 00028 #define OSDL_IPC_COMMANDS_H_ 00029 00030 00031 00063 #include "CeylanIPCCommands.h" // for ARM9CommandID, ARM7CommandID 00064 00065 00066 00067 00068 // Section dedicated to commands from the ARM9 to the ARM7. 00069 00070 00071 00079 const ARM9CommandID PlaySoundRequest = 33 ; 00080 00081 00082 00099 const ARM9CommandID PlayMusicRequest = 34 ; 00100 00101 00102 00114 const ARM9CommandID FadeInMusicRequest = 35 ; 00115 00116 00117 00130 const ARM9CommandID FadeOutMusicRequest = 36 ; 00131 00132 00133 00143 const ARM9CommandID StopMusicRequest = 37 ; 00144 00145 00146 00156 const ARM9CommandID PauseMusicRequest = 38 ; 00157 00158 00159 00169 const ARM9CommandID UnpauseMusicRequest = 39 ; 00170 00171 00172 00181 const ARM9CommandID EndOfEncodedStreamReached = 40 ; 00182 00183 00184 00191 const ARM9CommandID SetMusicVolumeRequest = 41 ; 00192 00193 00194 00195 00197 00198 00199 00200 00201 // Section dedicated to commands from the ARM7 to the ARM9. 00202 00203 00204 00212 const ARM7CommandID NoAvailableChannelNotification = 33 ; 00213 00214 00215 00225 const ARM7CommandID FirstBufferFillRequest = 34 ; 00226 00227 00228 00238 const ARM7CommandID SecondBufferFillRequest = 35 ; 00239 00240 00241 00248 const ARM7CommandID MusicEndedNotification = 36 ; 00249 00250 00251 00257 const ARM7CommandID MusicFrameInformation = 37 ; 00258 00259 00260 00261 #endif // OSDL_IPC_COMMANDS_H_ 00262