zoukankan      html  css  js  c++  java
  • 传输中的初始化播放器,

    -(void)initVoiceModule

    {

        //初始化录音vc

        self.recorderVC = [[ChatVoiceRecorderVCalloc]init];

        self.recorderVC.vrbDelegate = self;

        

        //初始化播放器

        self.player = [[AVAudioPlayer alloc]init];

        

        //添加长按手势

        UILongPressGestureRecognizer *longPrees = [[UILongPressGestureRecognizeralloc]initWithTarget:selfaction:@selector(recordWav:)];

        longPrees.delegate = self;

        [bottomView.recordBtnaddGestureRecognizer:longPrees];

    }

  • 相关阅读:
    bzoj1221
    hdu3377
    bzoj3930
    bzoj3976
    bzoj4237
    fzu1977
    hdu1693
    ural1519
    bzoj1264
    回答自己的提问
  • 原文地址:https://www.cnblogs.com/guligei/p/3531437.html
Copyright © 2011-2022 走看看