797 |
797 |
798 DP_OUT(); |
798 DP_OUT(); |
799 } |
799 } |
800 |
800 |
801 // ----------------------------------------------------------------------------- |
801 // ----------------------------------------------------------------------------- |
802 // CMMFDevSoundAdaptation::CBody::PlayFixedSequenceL |
|
803 // Initializes audio device and start playing the specified pre-defined tone |
|
804 // sequence. |
|
805 // |
|
806 // Leaves on failure. |
|
807 // (other items were commented in a header). |
|
808 // ----------------------------------------------------------------------------- |
|
809 // |
|
810 void CMMFDevSoundAdaptation::CBody::PlayFixedSequenceL(TInt /*aSequenceNumber*/) |
|
811 { |
|
812 DP_CONTEXT(CMMFDevSoundAdaptation::CBody::PlayFixedSequenceL *CD1*, CtxDevSound, DPLOCAL); |
|
813 DP_IN(); |
|
814 User::Leave(KErrNotSupported); |
|
815 DP_OUT(); |
|
816 } |
|
817 |
|
818 // ----------------------------------------------------------------------------- |
|
819 // CMMFDevSoundAdaptation::CBody::SetToneRepeats |
802 // CMMFDevSoundAdaptation::CBody::SetToneRepeats |
820 // Defines the number of times the audio is to be repeated during the tone |
803 // Defines the number of times the audio is to be repeated during the tone |
821 // playback operation. A period of silence can follow each playing of tone. |
804 // playback operation. A period of silence can follow each playing of tone. |
822 // The tone playing can be repeated indefinitely. |
805 // The tone playing can be repeated indefinitely. |
823 // Supported only during tone playing. |
806 // Supported only during tone playing. |
927 } |
910 } |
928 else |
911 else |
929 { |
912 { |
930 DP0_RET(NULL, "%d"); |
913 DP0_RET(NULL, "%d"); |
931 } |
914 } |
932 } |
|
933 |
|
934 // ----------------------------------------------------------------------------- |
|
935 // CMMFDevSoundAdaptation::CBody::FixedSequenceCount |
|
936 // Returns the number of available pre-defined tone sequences. |
|
937 // This is the number of fixed sequence supported by DevSound by default. |
|
938 // (other items were commented in a header). |
|
939 // ----------------------------------------------------------------------------- |
|
940 // |
|
941 TInt CMMFDevSoundAdaptation::CBody::FixedSequenceCount() |
|
942 { |
|
943 DP_CONTEXT(CMMFDevSoundAdaptation::CBody::FixedSequenceCount *CD1*, CtxDevSound, DPLOCAL); |
|
944 DP_IN(); |
|
945 DP0_RET(0, "%d"); |
|
946 } |
|
947 |
|
948 // ----------------------------------------------------------------------------- |
|
949 // CMMFDevSoundAdaptation::CBody::FixedSequenceName |
|
950 // Returns the name assigned to a specific pre-defined tone sequence. |
|
951 // This is the number of fixed sequence supported by DevSound by default. |
|
952 // The function raises a panic if sequence number specified invalid. |
|
953 // (other items were commented in a header). |
|
954 // ----------------------------------------------------------------------------- |
|
955 // |
|
956 const TDesC& CMMFDevSoundAdaptation::CBody::FixedSequenceName( |
|
957 TInt /*aSequenceNumber*/) |
|
958 { |
|
959 DP_CONTEXT(CMMFDevSoundAdaptation::CBody::FixedSequenceName *CD1*, CtxDevSound, DPLOCAL); |
|
960 DP_IN(); |
|
961 DP0_RET(KNullDesC, ""); |
|
962 } |
915 } |
963 |
916 |
964 // ----------------------------------------------------------------------------- |
917 // ----------------------------------------------------------------------------- |
965 // CMMFDevSoundAdaptation::CBody::GetSupportedInputDataTypesL |
918 // CMMFDevSoundAdaptation::CBody::GetSupportedInputDataTypesL |
966 // @see sounddevice.h |
919 // @see sounddevice.h |