×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    A query on audio Record/Playback in PCM16 using CMMFBuffer and speex

    hi,
    I am using the code given in the example section "Full Duplex Audio Example 2.0". I am using PCM16 instead of given 4 types used there. After getting the recorded the in BufferToBeEmptied I find that it is stored in 8 bit CMMFBuffer (I am not sure whether it is 8 bit or not). Then coppied to CMMFDataBuffer which is 8 bit sure. Then if i use speex it want 16 bit for encoding. If I give 8 bit as input then it should work. Then I want to decode. Speex again gives decoded output of 16 bits. This time the CMMFDataBuffer can not take 16 bits for playing. So this is the problem I am facing. It would be better if I could use 16 bit buffer in both BufferToBeEmptied and BufferToBeFilled for storing and playing data that would be more convenient to go along with speex.

    thank you

  2. #2
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    Re: A query on audio Record/Playback in PCM16 using CMMFBuffer and speex

    One thing I am confused, PCM16 should return 16bit info. In this case would CMMFBuffer give me 16 bit info in the BufferToBeEmptied()?
    Last edited by Md. Kayesh; 2012-07-19 at 11:47.

Similar Threads

  1. Replies: 6
    Last Post: 2011-02-17, 06:21
  2. Symbian record/playback
    By maheshbhoi_it in forum General Development Questions
    Replies: 2
    Last Post: 2011-01-28, 09:01
  3. Replies: 4
    Last Post: 2008-09-08, 23:44
  4. Record sound and playback
    By dakz in forum Mobile Java Media (Graphics & Sounds)
    Replies: 20
    Last Post: 2008-06-26, 10:29
  5. CMMFDevSound record and play with PCM16
    By vvsnaresh in forum Symbian Media (Closed)
    Replies: 7
    Last Post: 2008-05-30, 11:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×