javauis/nokiasound/src/cmidsound.cpp
changeset 50 023eef975703
parent 35 85266cc22c7f
equal deleted inserted replaced
49:35baca0e7a2e 50:023eef975703
   199 }
   199 }
   200 
   200 
   201 TInt CMIDSound::Play(TInt aLoop)
   201 TInt CMIDSound::Play(TInt aLoop)
   202 {
   202 {
   203     JELOG2(EJavaUI);
   203     JELOG2(EJavaUI);
   204     TInt err;
   204     TInt err = 0;
   205     CallMethodL(err, this, &CMIDSound::DoPlay, aLoop, this);
   205     CallMethod(err, this, &CMIDSound::DoPlay, aLoop, this);
   206     return err;
   206     return err;
   207 }
   207 }
   208 
   208 
   209 TInt CMIDSound::DoPlay(TInt aLoop)
   209 TInt CMIDSound::DoPlay(TInt aLoop)
   210 {
   210 {
   254 }
   254 }
   255 
   255 
   256 TInt CMIDSound::SoundVolume()
   256 TInt CMIDSound::SoundVolume()
   257 {
   257 {
   258     JELOG2(EJavaUI);
   258     JELOG2(EJavaUI);
   259     TInt result;
   259     TInt result = 0;
   260     CallMethodL(result, this, &CMIDSound::Volume, this);
   260     CallMethod(result, this, &CMIDSound::Volume, this);
   261     return result;
   261     return result;
   262 }
   262 }
   263 
   263 
   264 TInt CMIDSound::Volume()
   264 TInt CMIDSound::Volume()
   265 {
   265 {
   287 
   287 
   288 
   288 
   289 TInt CMIDSound::PlayerState()
   289 TInt CMIDSound::PlayerState()
   290 {
   290 {
   291     JELOG2(EJavaUI);
   291     JELOG2(EJavaUI);
   292     TInt result;
   292     TInt result = 0;
   293     CallMethodL(result, this, &CMIDSound::State, this);
   293     CallMethod(result, this, &CMIDSound::State, this);
   294     return result;
   294     return result;
   295 }
   295 }
   296 
   296 
   297 TInt CMIDSound::State()
   297 TInt CMIDSound::State()
   298 {
   298 {