# Switch between legacy audio service and refreshed audio service

Source: [https://docs.qualcomm.com/doc/80-41102-1/topic/switch-between-legacy-audio-service-and-refreshed-audio-service.html](https://docs.qualcomm.com/doc/80-41102-1/topic/switch-between-legacy-audio-service-and-refreshed-audio-service.html)

Note: From TAF\_24.12.00, the legacy audio service is completely
            obsoleted from the software. This section is no longer applicable. The refreshed audio
            service is the official audio service.

While legacy audio service is the default audio service, TelAF also supports refreshed
            audio service with VHAL extension.

The two services are mutually exclusive and cannot be enabled at the same time.

If the user wants to enable refreshed audio service, the user needs to first disable
            legacy audio service. Specifically, the user should go to
            telaf\_root/modules/TelSDK/sa525m.sdef file. In line 16 and line 17, the user should see
            following
            codes:

    $TELAF_ROOT/apps/tafServices/tafAudioSvc
    //$TELAF_ROOT/apps/tafServices/staging/tafAudioSvcCopy to clipboard

Currently, legacy audio service is enabled, while refreshed audio service is
            disabled.

The user should comment line 16 and de-comment line 17 to make the codes look like
            this:

    //$TELAF_ROOT/apps/tafServices/tafAudioSvc
    $TELAF_ROOT/apps/tafServices/staging/tafAudioSvcCopy to clipboard

Now, refreshed audio service is enabled, and legacy audio service is disabled.

Because the sdef file is changed, the user needs to recompile the system to make the
            change workable.

From TAF\_24.06.00, the user can switch the two services by setting different values of
            REFRESH\_AUDIO\_SVC environmental variable at the build time.

Enable the refreshed audio service with the following
            command:

    export REFRESH_AUDIO_SVC=yCopy to clipboard

Enable the legacy audio service with the following
            command:

    export REFRESH_AUDIO_SVC=nCopy to clipboard

**Parent Topic:** [How to](https://docs.qualcomm.com/doc/80-41102-1/topic/How-to.html)

Last Published: May 12, 2026

[Previous Topic
Enable ECall service](https://docs.qualcomm.com/bundle/publicresource/80-41102-1/topics/enable-ecall-service.md)