Problem with WAVEHDR value during playback using wince media player
- From: dan.repich@xxxxxxxxx
- Date: Sat, 2 May 2009 05:40:19 -0700 (PDT)
I am writing a USB audio driver for playback for wince 6.0.
I play a wav file (16 bit 48khz stereo) using wince Media player on
CEPC (that calls my driver
for playback).
When i select a wav file for play then WODM_Write is called..Here i
got to know that WAVEHDR is receiving inapproriate value i.e. pWaveHdr-
lpData is having value 0x00. (I am receivng value of WAVEHDR fromwaveapi i.e.PWAVEHDR pWaveHdr = (PWAVEHDR) dwParam1; )
While if i test it using my application (that opens the driver as a
file) then under WODM_write WAVEHDR receives proper data pWaveHdr-
lpData.
I don't understand why it's receing no data when using wince media
player is used for playback .Can someone please tell me how can i get
proper WAVEHDR value.
Thank you for your anticipation in advance.
.
- Prev by Date: Carving a Niche Career in Embedded System Design - Free Seminar
- Next by Date: Re: Device driver crash ?? - in udevice.exe
- Previous by thread: Carving a Niche Career in Embedded System Design - Free Seminar
- Next by thread: Using KITL and ethernet in application
- Index(es):
Relevant Pages
|