Search found 10 matches

by livecodeian
Wed May 06, 2020 11:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Recording audio on Windows
Replies: 8
Views: 5038

Re: Recording audio on Windows

Hi dalkin, i spotted a mistake in your setup code: cameraControlDo, "MyCamera", "startRecording", "tUserDefinedName" Here you've used a variable name in quotes, which will send the name of the variable to cameraControlDo instead of the contents of the variable, though it looks from the rest of your ...
by livecodeian
Tue May 05, 2020 10:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Recording audio on Windows
Replies: 8
Views: 5038

Re: Recording audio on Windows

Hi dalkin, your "stopRecording" code looks ok to me, maybe check the tFile value you're passing to

Code: Select all

cameraControlDo "MyCamera", "startRecording", tFile
is valid, and is within a folder that exists and can be written to.

--
Ian Macphail, LiveCode Ltd.
by livecodeian
Mon May 04, 2020 2:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Recording audio on Windows
Replies: 8
Views: 5038

Re: Recording audio on Windows

I should add that on Windows the output format from the cameraControl is always Windows Media Video (WMV) or Windows Media Audio (WMA). The recordFormat property and the output filename extension have no bearing on this.

--
Ian Macphail, LiveCode Ltd.
by livecodeian
Mon May 04, 2020 2:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Recording audio on Windows
Replies: 8
Views: 5038

Re: Recording audio on Windows

Hi dalkin, the crash you've encountered has been reported here - https://quality.livecode.com/show_bug.cgi?id=22580 As stated in the report, the crash happens when recording from a cameraControl that has not been made visible. There is a way you can work around this bug until it has been fixed - add...
by livecodeian
Tue Jun 02, 2015 11:27 am
Forum: Engine Contributors
Topic: Loading docs in built version
Replies: 15
Views: 20732

Re: Loading docs in built version

@monte: Which branch are you building from? The current develop branch does not yet include the required libcef binaries in the prebuilt fetch script. For now I'd suggest copying the required files from an installed version. LibCEF requires us to place the framework files within the app bundle at sp...
by livecodeian
Mon Feb 23, 2015 1:25 pm
Forum: LiveCode Builder
Topic: Rotating a text field?
Replies: 5
Views: 4594

Re: Rotating a text field?

Perhaps the simplest way of thinking about this is in terms of transforming the canvas. As an example, here's a handler that will draw rotated text centred on a given point: // function which returns the center point of a rectangle public handler rectCenter(in pRect as Rectangle) as Point return poi...
by livecodeian
Tue Feb 10, 2015 12:22 pm
Forum: LiveCode Builder
Topic: Regex
Replies: 16
Views: 11474

Re: Regex

@trevordevore - sorry Trevor, I haven't been able to reproduce that error. LiveCode builds fine for me from a clean checkout from git.
by livecodeian
Fri May 23, 2014 12:55 pm
Forum: LiveCode Global Jam
Topic: New command revBrowserOpenCef
Replies: 13
Views: 15056

Re: New command revBrowserOpenCef

Hi Paulo, the Chromium Embedded Framework libraries used by the new browser are loaded the first time a browser is created with revBrowserOpenCef. As these libraries are quite large (around 50MB) this would account for the delay.

Ian.
by livecodeian
Mon Apr 07, 2014 11:34 am
Forum: Engine Contributors
Topic: LiveCode 6.6 Screen Freeze Bug
Replies: 3
Views: 6159

Re: LiveCode 6.6 Screen Freeze Bug

Hi guys, the cause of this bug (bug no 12010 in the QA centre) has been identified and fixed in 6.6.1-rc1.

Ian.
by livecodeian
Mon Apr 22, 2013 4:58 pm
Forum: Engine Contributors
Topic: behavior object properties set prop/get prop
Replies: 95
Views: 52484

Re: behavior object properties set prop/get prop

Hi Monte & Mark. I've merged another fix into the release-6.0.1 branch. That should sort out the revbuild header issue. Wasn't aware of what the issue was when I posted the first fix, so ended up fixing something else :)

Ian.

Go to advanced search