> そのソースは問題ないです。でも、私はbyte配列でStreamに書き込みたいです。
android.media.AudioTrackを使ってはどうでしょう。
http://developer.android.com/reference/android/media/AudioTrack.html
The AudioTrack class manages and plays a single audio resource for Java
applications. It allows to stream PCM audio buffers to the audio
hardware for playback. This is achieved by "pushing" the data to the
AudioTrack object using one of the write(byte[], int, int) and
write(short[], int, int) methods.
音声の直入出力が出来るので、面白くなりそう。
/*********************************************
有限会社シーリス
代表 有山 圭二
@Address
〒530-0044
大阪市北区東天満二丁目2番5号
第2新興ビル 601
@Web http://www.c-lis.co.jp
*********************************************/