javauis/nokiasound_akn/src/cmidsound.cpp
branchRCL_3
changeset 46 4376525cdefb
parent 24 0fd27995241b
equal deleted inserted replaced
34:71c436fe3ce0 46:4376525cdefb
   195 }
   195 }
   196 
   196 
   197 TInt CMIDSound::Play(TInt aLoop)
   197 TInt CMIDSound::Play(TInt aLoop)
   198 {
   198 {
   199     JELOG2(EJavaUI);
   199     JELOG2(EJavaUI);
   200     TInt err;
   200     TInt err = 0;
   201     CallMethodL(err, this, &CMIDSound::DoPlay, aLoop, this);
   201     CallMethod(err, this, &CMIDSound::DoPlay, aLoop, this);
   202     return err;
   202     return err;
   203 }
   203 }
   204 
   204 
   205 TInt CMIDSound::DoPlay(TInt aLoop)
   205 TInt CMIDSound::DoPlay(TInt aLoop)
   206 {
   206 {
   250 }
   250 }
   251 
   251 
   252 TInt CMIDSound::SoundVolume()
   252 TInt CMIDSound::SoundVolume()
   253 {
   253 {
   254     JELOG2(EJavaUI);
   254     JELOG2(EJavaUI);
   255     TInt result;
   255     TInt result = 0;
   256     CallMethodL(result, this, &CMIDSound::Volume, this);
   256     CallMethod(result, this, &CMIDSound::Volume, this);
   257     return result;
   257     return result;
   258 }
   258 }
   259 
   259 
   260 TInt CMIDSound::Volume()
   260 TInt CMIDSound::Volume()
   261 {
   261 {
   283 
   283 
   284 
   284 
   285 TInt CMIDSound::PlayerState()
   285 TInt CMIDSound::PlayerState()
   286 {
   286 {
   287     JELOG2(EJavaUI);
   287     JELOG2(EJavaUI);
   288     TInt result;
   288     TInt result = 0;
   289     CallMethodL(result, this, &CMIDSound::State, this);
   289     CallMethod(result, this, &CMIDSound::State, this);
   290     return result;
   290     return result;
   291 }
   291 }
   292 
   292 
   293 TInt CMIDSound::State()
   293 TInt CMIDSound::State()
   294 {
   294 {