Hi Sean,
On Jul 11, 2008, at 7:20 AM, Sean McBride wrote:
Hi all,
The following works just fine in non-GC apps when called in an
IBAction
method:
[]
I'm guessing this is because the speechSynthesizer is collected before
it finishes speaking.
Good guess!
Is this 'correct behaviour' o
On Jul 11, 2008, at 15:08, Sean McBride wrote:
Meaning you agree with me that it shouldn't be my job to keep a strong
reference until its finished speaking?
Whose job was it to keep a reference count on it under non-GC
conditions? You weren't doing it in the code you posted, apparently.
I
On Fri, Jul 11, 2008 at 3:08 PM, Sean McBride <[EMAIL PROTECTED]> wrote:
> On 7/11/08 10:36 AM, Clark Cox said:
>
>>> I'm guessing this is because the speechSynthesizer is collected before
>>> it finishes speaking. Is this 'correct behaviour' or a bug? Needless
>>> to say, the docs say nothing ab
On 7/11/08 10:36 AM, Clark Cox said:
>> I'm guessing this is because the speechSynthesizer is collected before
>> it finishes speaking. Is this 'correct behaviour' or a bug? Needless
>> to say, the docs say nothing about special considerations for garbage
>> collection. My speechSynthesizer has
On Fri, Jul 11, 2008 at 7:20 AM, Sean McBride <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> The following works just fine in non-GC apps when called in an IBAction
> method:
>
>NSSpeechSynthesizer* speechSynthesizer =
>[[[NSSpeechSynthesizer alloc] init] autorelease];
>[speechSynthes
Hi all,
The following works just fine in non-GC apps when called in an IBAction
method:
NSSpeechSynthesizer* speechSynthesizer =
[[[NSSpeechSynthesizer alloc] init] autorelease];
[speechSynthesizer startSpeakingString:
@"Hello. I'm Macintosh. It sure is great to get out of