CD Audio using MCI

G

Guest

I am trying to get my embedded device to play audio CDs...

Whenever I send a "play cdaudio" command I get an error response...
"MCI Error : 262 - There is a problem with your media device. Make sure it
is working correctly or contact the device manufacturer."

Whenever I send an "info cdaudio current track" command I get another error
response...
"MCI Error : 259 - The driver cannot recognize the specified command
parameter."

Anyone got any tips about how to get this working?
Thanks...
 
K

KM

Stormblade,

Is your embedded device running XPe?
Did you build the image for the device by yourself.

If not, you better follow the advice application gave you: contact the device manufacturer.
 
G

Guest

Yes, and Yes...

KM said:
Stormblade,

Is your embedded device running XPe?
Did you build the image for the device by yourself.

If not, you better follow the advice application gave you: contact the device manufacturer.
 
K

KM

Stormblade,

Then I'd request a bit more information.

What software do you use to play audio CD?
What WMP stack is in your image? How WMP plays the same CD?

Does CD-ROM drive work properly? Do you have CDFS support in your image?

Do you have "Kernel Audio Support" and "Legacy and Plug and Play Audio Support" component in your image?
 
G

Guest

All the components you mention are included, and CDFS...
The CD-Writer works fine (for reading and writing).
I have only included media player 6.3...
The CD player I am using is my own, uses MCI sendString commands...
however, mplay32.exe reports the same error when it trys to play a CD...
 
K

KM

Stormblade,
All the components you mention are included, and CDFS...
The CD-Writer works fine (for reading and writing).
I have only included media player 6.3...

Did you mean 6.4?
I'd recommend to upgrade to WMP 8.0 at least and test it the cdaudio with WMP. This way you know whether the MCI stack works on your
image.
The CD player I am using is my own, uses MCI sendString commands...
however, mplay32.exe reports the same error when it trys to play a CD...

At run time, what content do you have under the following key:
[HKLM\SYSTEM\Cur-rentControlSet\Control\MediaRe-sources\mci]
Is there "cdaudio" subkey there?

Also, just checking.. Do you have [HKCR\Component Categories\{E8558721-9D1F-11CF-92F8-00AA00613BF1}] key? If not, try to copy it
from XP Pro for testing purposes.
 
B

Brrt

Stormblade said:
I am trying to get my embedded device to play audio CDs...

Whenever I send a "play cdaudio" command I get an error response...
"MCI Error : 262 - There is a problem with your media device. Make sure
it
is working correctly or contact the device manufacturer."

Whenever I send an "info cdaudio current track" command I get another
error
response...
"MCI Error : 259 - The driver cannot recognize the specified command
parameter."

Anyone got any tips about how to get this working?
Thanks...

I have the same problem. Couldn't figure out what the problem is. It has
probally nothing to do with your hardware, so contacting the device
manufacturer would be useless.
I created a simple program which uses MCI commands to playback CD audio. It
works on Windows XP Professional SP2 and Home SP2. On the same platform, but
using XPE SP2 it results in the same error: "There is a problem with your
media device".
In my case, CD audio can be played on XPE SP2, using WMP10. But WMP10
doesn't make use of MCI commands (it probably uses it's own driver). So
there is no point upgrading to a different WMP, because WMP doesn't
influence your MCI driver.

Maybe you get proper results using (one of) the following components?
- Legacy Video Capture Devices [Version 5.1.2600, R620]
- Game Port for Creative [Version 5.1.2600, R620]
- Microsoft Kernel Audio Splitter [Version 5.1.2600, R620]
- Microsoft Kernel DLS Synthesizer [Version 5.1.2600, R620]
- Microsoft Kernel GS Wavetable Synthesizer [Version 5.1.2600, R620]
- Microsoft Kernel DRM Audio Descrambler [Version 5.1.2600, R620]
- Microsoft Kernel Acoustic Echo Canceller [Version 5.1.2600, R620]

Please let me know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top