Go Back   Technology Questions > Hardware Questions > Electronics > Smartphones

Smartphones This is the Microsoft General Public Smartphones Newsgroup.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 04-18-2008, 02:00 PM
MBruce
Tablet PC Guest
 
Posts: n/a
Creating/Playing Wav File from binary data.

I am just starting mobile development. I don't know C++ so I am creating an
application managed code in C#. I have a webservice that is returning byte[]
data of a wav file format.

How would I play this on a smartdevice? Should I create a file from the
binary data or stream the data directly to a player?

If I need to save it as a file first, how would I create a wav file with the
byte[] data in C#? I can't seem to find any examples of this on the internet
and I have been searching for a week.

If there is no way to do this for a wav file format, I can also get the
binary data in a QCP format.

Any help would be greatly appreciated.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 04-18-2008, 02:00 PM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #2 (permalink)  
Old 04-28-2008, 07:40 AM
MBruce
Tablet PC Guest
 
Posts: n/a
RE: Creating/Playing Wav File from binary data.

I found the best solution was to save the file locally and play by using the
windowsmediaplayer control.

http://msdn2.microsoft.com/en-us/lib...38(VS.85).aspx


"MBruce" wrote:

> I am just starting mobile development. I don't know C++ so I am creating an
> application managed code in C#. I have a webservice that is returning byte[]
> data of a wav file format.
>
> How would I play this on a smartdevice? Should I create a file from the
> binary data or stream the data directly to a player?
>
> If I need to save it as a file first, how would I create a wav file with the
> byte[] data in C#? I can't seem to find any examples of this on the internet
> and I have been searching for a week.
>
> If there is no way to do this for a wav file format, I can also get the
> binary data in a QCP format.
>
> Any help would be greatly appreciated.
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a REG Merge File mcp6453 Windows XP 5 03-29-2008 01:30 PM
View any file in binary / hex format PSRumbagh Windows XP 4 06-25-2007 05:20 AM
how to stop playing file after file in playlist MLA! Windows Media 1 06-18-2007 05:21 PM
Creating Data Sources (ODBC) via code John Windows XP 3 04-29-2007 08:15 AM
How to embed manifest in TCL binary? - mt.exe corrupting my binary Kshitij Windows Vista 0 02-14-2007 02:52 PM


All times are GMT -8. The time now is 05:41 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0