Figure 65 audio task processing function flow (4) – FUJITSU FMB AN706 User Manual

Page 91

Advertising
background image

AN706-00040-2v0-E

90

Set false for audio play processing loop

condition.

4

Sampling

Sample decode data.

(audio_decode_upsample)

1

Set stop for audio stage.

Sampling results judgment

Successfully sampled

Others

Output buffer full

of sampling data?

Play start flag false?

Set true for play start flag.

No

Yes

RAW data buffer has vacancy

Set file read for audio stage.

Output buffer does not have sufficient vacancy

No

Yes

Stop

Stop audio play.

(AUDIO_DecodeStop)

Set false for audio play

processing loop condition.

Set initialization for audio stage.

Set false for audio play

processing loop condition.

Others

1

Start I

2

S by 48kHz.

(I

2

S_Start)

Is sampling rate

8k,12k,16k,24k,32k,48k?

Yes

Start I

2

S by 44.1kHz.

(I

2

S_Start)

No

Figure 65 AUDIO Task Processing Function Flow (4)

Advertising