🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3554

Re: Playing .au files

#3554
From: Peter Thompson
Date: Thu, 04 Dec 1997 00:00
37 lines
1906 bytes
Thank-you very much for taking the time to reply. I have just earlier implemented
the refresh() code and it works fine. I shall try the audioClip code soon. Thanks
for the info.

Peter
P.S. - One last question! (promise!)
- How can I attach the scrollbars to the applet? They go on OK, but their
movement has no effect on the window. (I am designing for a 14" monitor on a 17")

Andrew Bennett wrote:

> Peter Thompson wrote:
>
> > I'm trying to play .au files that are stored in a database. I understand
> > I need to add some code to a button, to reference the DataSet the sounds
> > are stored in and the method Play().
> >
> > But how do I implement this?
>
> You'll need to stream out the blob field from the database into an AudioClip.
>
> You might want to look at the source for the Image JBCL component, as
> I believe it has code to stream an image from a blob in a database.  Same
> type of approach.
>
> > Also, how can I refresh my data after it has been saved to the db? (The
> > autoincrement number will not show until the data is refreshed.)
>
> see refresh() in the JBCL Reference of borland.jbcl.dataset.DataSet.
>
> Andrew
> --
>   Andrew Bennett            ->  abennett@borland.com
>   JBuilder info             ->  http://www.borland.com/jbuilder/
>   JBuilder newsgroups info  ->  http://www.borland.com/newsgroups/
> **** Please don't post a reply AND send email.  Do one.  I'll see it. ****
Technical Details
Message-ID: <348619D5.5E3FF795@homeaway.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3485BAB2.9B2D5687@homeaway.demon.co.uk> <3485C2DE.C3A89D95@borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,2db3e82f6f3b72bd
X-Google-Attributes: gid1089d0,public
From: Peter Thompson <peter@homeaway.demon.co.uk>
Subject: Re: Playing .au files
Date: 1997/12/04
Message-ID: <348619D5.5E3FF795@homeaway.demon.co.uk>
X-Deja-AN: 295041037
References: <3485BAB2.9B2D5687@homeaway.demon.co.uk> <3485C2DE.C3A89D95@borland.com>
Organization: None
Newsgroups: borland.public.jbuilder.java.api