Results 1 to 26 of 26

Thread: [02/03] Sounds and Video

Threaded View

  1. #22
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [02/03] Sounds and Video

    Presumably your file is not a PCM wave file, whatever exactly that is. What happens if you double-click that file in Windows Explorer? Does it play properly? If so then I guess Windows has support for different wave formats but the API used by that method doesn't. Perhaps you should Google to find out exactly what a PCM wave file is and if and how it differs from any other type of wave file.

    Edit: Just took my own advice and found that wave files normally store data in the uncompressed PCM format but can contain compressed audio too. That I didn't know, but it suggests that perhaps your file is compressed and Windows, or at least the API being used by My.Computer.Audio.Play, supports only the uncompressed PCM format.
    Last edited by jmcilhinney; Oct 18th, 2006 at 05:33 PM.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width