programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: playing mp3 files within windows

From: Roger Dube <rogerdube_at_dathq.com>
Date: Sat, 16 Oct 2004 17:00:11 -0400

Rebooted - same error. If I play the file with an mp3 player, it works fine.

I will try the code on a different machine.

- Roger

-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com] On Behalf Of
Tom Dixon
Sent: Saturday, October 16, 2004 4:27 PM
To: sftalk_at_forth.com
Subject: [sftalk] Re: playing mp3 files within windows

Hi,

I've looked up the error code 277 and it appears to be MCIERR_INTERNAL, an
internal driver error. The only advice the documentation gives is to try
and
reboot windows. Just out of curiosity, when you get that error, do other
mp3
playing programs also work?

- Tom

Quoting Roger Dube <rogerdube_at_dathq.com>:

> Tom - tried the code - copied an MP3 file to my root directory, wrote a
test
> word and I just get a 277 returned to the stack without any playing...
>
> Am I missing something?
>
> - Roger
>
> LIBRARY WINMM.DLL
>
> 4 import: mciSendString
>
> create returnstring 256 allot
>
> 0 value returnvalue
>
> : mcicommand returnstring 255 returnvalue mciSendString ;
>
> : mp3test z" play c:\test.mp3" mcicommand ;
>
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Sat Oct 16 2004 - 14:00:29 PDT

This archive was generated by hypermail 2.2.0 : Thu Nov 20 2008 - 03:04:34 PST