Find Jobs
Hire Freelancers

Media Player Class for Android

$30-250 USD

已关闭
已发布大约 14 年前

$30-250 USD

货到付款
Please read the requirements carefully. I need a developer to create a class for media playback supplied via an array. This class will be object oriented with some methods returning void and others objects. The class will be for initiating and controlling playback via the object. The following methods are required: load_file - Prepare file/stream for playback, sets volume to system media playback volume setting. startPlayback - Send file/stream either directly to hardware via AudioTrack::write() or to Android MediaPlayer. pausPlayback - Pause the audio stream, again choice can be via the AudioTrack::pause() or MediaPlayer::pause(), just be consistent. Needs to return the current position. stopPlayback - Stop the audio stream and clear buffer/resource if used. goToPosition(position) - Skip to position specified getFileLength(resource) - Returns the length of the audio resource in milliseconds getFileSize(resource) - Returns the file size in bytes of the resource [may not be necessary so wait for confirmation before working on method] getPosition(resource, type) - Returns the marker position in frames or milliseconds depending on the type. Regardless of how the audio is handled (AudioTrack or MediaPlayer) it should return the values requested. That's it for now. The class needs to have error handling & throw/catch control. This is not an entire android application. I don't care that you created a new project from oncreate to exit to build the class. If you use open source code or code found on the internet, include the original code and the copyright and/or permission from the original author to use the code in a commercial project. I will check to ensure the code wasn't ripped from someone else without credit. You can use other libraries with the class that are not in the Android SDK, just include the libraries with your submission. Ask questions/comments in a PMB.
项目 ID: 645330

关于此项目

6提案
远程项目
活跃14 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

UNITED STATES的国旗
Fort Smith, United States
5.0
4
付款方式已验证
会员自8月 13, 2006起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。