Quantcast
Channel: Not able to play Sound with this code - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by rosco for Not able to play Sound with this code

$
0
0

Maybe you're trying to play unsupported format.Do you know what fails? : new, setDataSource, prepare, start ... moreover IOException tells you there is something wrong with input file, such FileNotFoundException or EOFException (try to printout a more specific exception as suggested here)

ps.: moved comments in answer.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>