声音回传类图—电视端
2015-06-01 10:48:31 29 举报
手机端声音回传类图
作者其他创作
大纲/内容
ClientSocket
public Result sendMsg(int what) Result recvMsg()public Result sendUTF(String str)
AudioPlayer
private static AudioTrack mAudioTrack;private RingBuffer pRingBuffer;
PlayAudioThread
SocketConnect
private static Socket mAudioSocket = null;private static Socket mCommSocket = null;
MainActivity
private IConnectInfo connectInfo = null;SocketConnect mClientprivate VisualizerView mVisualizerView;
IncomingHandler
SocketConnThread
MainControlService
private NotificationManager mNotificationManager;public AudioPlayer mAudioPlayer;
private void initNotification();private void initAudioTrackPamram()
EVENT
应用主页面
RingBuffer
public void setAudioParam(AudioParam audioParam)private synchronized void createAudioTrack();public boolean play()
0 条评论
下一页