This site is no longer active and is available for archival purposes only. Registration and login is disabled.

A _decent_ audio player for the StrongARM?


Re: A _decent_ audio player for the StrongARM?

Postby Richard » Jun 13, 2001 @ 12:12pm

Richard
 


Re: A _decent_ audio player for the StrongARM?

Postby Moose or Chuck » Jun 13, 2001 @ 12:26pm

Moose or Chuck
 


Re: A _decent_ audio player for the StrongARM?

Postby Moose or Chuck » Jun 13, 2001 @ 1:37pm

Moose or Chuck
 


Re: A _decent_ audio player for the StrongARM?

Postby Richard » Jun 18, 2001 @ 2:13am

Richard
 


Re: A _decent_ audio player for the StrongARM?

Postby Digby » Jun 18, 2001 @ 4:30am

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Re: A _decent_ audio player for the StrongARM?

Postby Richard » Jun 18, 2001 @ 11:38am

Richard
 


Re: A _decent_ audio player for the StrongARM?

Postby Malmer » Jun 18, 2001 @ 12:10pm

All your base are belong to us
User avatar
Malmer
pm Member
 
Posts: 768
Joined: Apr 26, 2001 @ 5:15pm
Location: Sweden


Re: A _decent_ audio player for the StrongARM?

Postby Dan East » Jun 18, 2001 @ 12:27pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: A _decent_ audio player for the StrongARM?

Postby Digby » Jun 18, 2001 @ 3:19pm

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Re: A _decent_ audio player for the StrongARM?

Postby PsychoStorm » Jun 19, 2001 @ 1:05am

PsychoStorm
pm Member
 
Posts: 12
Joined: Jun 19, 2001 @ 1:05am


Re: A _decent_ audio player for the StrongARM?

Postby Digby » Jun 19, 2001 @ 2:28am

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Re: A _decent_ audio player for the StrongARM?

Postby Moose or Chuck » Jun 20, 2001 @ 9:46pm

uh-huh. Well let us know when umm, you have something that works :)<br><br><br>Edit: orginal post was off-topicLast modification: Same old Chuck - 06/20/01 at 18:46:44
Moose or Chuck
 


Re: A _decent_ audio player for the StrongARM?

Postby Moose or Chuck » Jun 21, 2001 @ 8:56am

New
Moose or Chuck
 


Re: A _decent_ audio player for the StrongARM?

Postby PsychoStorm » Jun 21, 2001 @ 1:58pm

I actually made a lot of progress in using the waveOut stuff.  Let me pass along a few observations I made that were not immediately obvious to me:<br><br>- the prepareHeader / waveOutWrite / WOM_DONE message / UnprepareHeader is an _atomic_ unit of execution.  I tried using the waveOutWrite twice with the same header and it worked fine on the emulator, crashed my IPAQ completely.<br><br>- As everyone has observed, the WOM_DONE callback that the low-level stuff raises is difficult to debug.  You can't breakpoint it or anything - best thing is to keep it simple.<br><br>- I believe you CAN waveOutWrite two buffers consecutively, and this is how you keep the audio out device continually fed with buffers - once the WOM_DONE message is sent for the first buffer (done playing), you can prepareHeader / waveOutWrite another buffer and at that point and it will end up being the third one.<br><br>I intend to finish my simple MP3 player, but now I'm itching to make a mini waveOut API that incorporates mixing of sound effects.  i.e., you pass a PCM buffer to the API, and it plays it asynchronously.  If indeed mixing is as simple as adding them all together (using the API to get the current sound position so as to enforce a constant 100ms lag, for example), it shouldn't be too difficult.<br><br>- Richard
PsychoStorm
pm Member
 
Posts: 12
Joined: Jun 19, 2001 @ 1:05am


Re: A _decent_ audio player for the StrongARM?

Postby jongjungbu » Jun 21, 2001 @ 2:01pm

Paul,<br>I would love to see a mini waveOut API with mixing of sound effects. I'm no expert in the sound area and well ..that gives me problems when I wish to play music & sfx on a PPC program. For desktop, I use to use DirectSound so I didn't worry about it too much then.
User avatar
jongjungbu
Not JongJongBu
 
Posts: 3112
Joined: Jun 19, 2001 @ 4:22am
Location: USA


PreviousNext

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron