Hi,

I have a Samsung Galaxy S2 with android 4.0.3 (not an official
release, I'm aware of it) and I don't have sound when using mediaPlay
to play a sound file on my device. The program is the following one :


import droid

droid = android.Android();
play = droid.mediaPlay('/sdcard/download/sound.mp3');
print play


When using the python interpreter, it works well and I can hear sound,
but when using the exact same code inside a python program there is no
sound (the result is immediately returned as if there were no error,
i.e "print play" display {id=1, result=True, error=None})

I checked that my volume is not set to mute, that the file is playing
(with droid.mediaPlayInfo) ... there seem to be no problem, but I
still can't get it to work.

When looking into the logs, I have :

[03-04 12:20:28.815  1827:0x723 E/DivXPlugin]
DivXPugin::onOpenDecryptSession() Not a Divx File.
[03-04 12:20:28.840  1828:0x79f E/SoundAliveSpeedHandler]
setSoundAlivePlayspeed(-1)
[03-04  12:20:28.840  1828:0x79f E/SoundAliveSpeedHandler]
speedtable(-0.502885)
[03-04  12:20:28.950  6856:0x1cfb E/sl4a.Relay:157]
Problem while handling incoming data in relay thread
java.io.IOException: session closed
  at
org.connectbot.transport.ProcessTransport.read(ProcessTransport.java:
81)
  at org.connectbot.service.Relay.run(Relay.java:125)
  at java.lang.Thread.run(Thread.java:856)


Any help would be appreciated
Thanks !

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to