Phone Scoop

printed August 30, 2015
See this page online at:
http://www.phonescoop.com/phones/m_forum.php?fm=m&ff=112&fh=1484015

Home  ›  Phones  ›

Sanyo

Info & Phones News Forums  

all discussions

Audio Recording on MM 8300

softeyes

Nov 30, 2007, 5:08 AM
All,

I'm recording the audio on MM 8300, while committing(rc.commit() method below), it gives IOException.

But the phone supports audio capture and the media version is 1.1.

My code is given below...

Player p = Manager.createPlayer(");
p.realize();
RecordControl rc = (RecordControl) p.getControl(");
ByteArrayOutputStream baos = new ByteArrayOutputStream();
rc.setRecordStream(baos);
rc.startRecord(); p.start();
Thread.currentThread().sleep(30000);
// Record for 30 secs

rc.commit();
p.stop();
baos.close();
p.close();
...

You must log in to reply.

Please log in to report a message to the moderator.


all discussions

Subscribe to Phone Scoop News with RSS Follow @phonescoop on Twitter Phone Scoop on Facebook Subscribe to Phone Scoop on YouTube Follow on Instagram

 

All content Copyright 2001-2015 Phone Factor, LLC. All Rights Reserved.
Content on this site may not be copied or republished without formal permission.
1