// _Unsupported_ Those API could be not implemented and return KErrNotSupported


[Define]
KErrNotFound -1
KErrNotSupported -5
KErrAlreadyExists -11
KErrNotReady -18
KErrAccessDenied -21

KErrEventPending -2000
KErrCallbackErrorCode -2001
KErrUnexpectedValue -2002
KErrNotificationPending -2005
KErrUnexpectedNotification -2006
KErrTimeoutController -2007



[Enddefine]



[Test]
title 1. Create SbcEncoderIntfc - DevSound 
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject DevSound
SbcEncoder InitializeDevSound
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc DevSound 
delete SbcEncoder
[Endtest]

[Test]
title 1.1. Create SbcEncoderIntfc - DevSound 
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject DevSound
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc DevSound 
delete SbcEncoder
[Endtest]

[Test]
title 2. Apply Get Settings
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject DevSound
SbcEncoder InitializeDevSound
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc DevSound
SbcEncoder SetSamplingFrequency
SbcEncoder SetChannelMode
SbcEncoder SetNumOfSubbands
SbcEncoder SetNumOfBlocks
SbcEncoder SetAllocationMethod
SbcEncoder SetBitpoolSize
SbcEncoder ApplyConfig
SbcEncoder GetSamplingFrequency
SbcEncoder GetChannelMode
SbcEncoder GetNumOfBlocks
SbcEncoder GetNumOfSubbands
SbcEncoder GetAllocationMethod
SbcEncoder GetBitpoolSize
delete SbcEncoder
[Endtest]

[Test]
title 3. GetSupportedSamplingFrequencies 
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject DevSound
SbcEncoder InitializeDevSound
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc DevSound
SbcEncoder GetSupportedSamplingFrequencies
delete SbcEncoder
[Endtest]

[Test]
title 4. GetSupportedChannelModes 
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject DevSound DevSound
SbcEncoder InitializeDevSound
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc DevSound
SbcEncoder GetSupportedChannelModes
delete SbcEncoder
[Endtest]

[Test]
title 5. GetSupportedNumOfBlocks 
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject DevSound
SbcEncoder InitializeDevSound
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc DevSound 
SbcEncoder GetSupportedNumOfBlocks
delete SbcEncoder
[Endtest]

[Test]
title 6. GetSupportedNumOfSubbands 
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject DevSound
SbcEncoder InitializeDevSound
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc DevSound 
SbcEncoder GetSupportedNumOfSubbands
delete SbcEncoder
[Endtest]

[Test]
title 7. GetSupportedAllocationMethods 
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject DevSound
SbcEncoder InitializeDevSound
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc DevSound 
SbcEncoder GetSupportedAllocationMethods
delete SbcEncoder
[Endtest]

[Test]
title 8. GetSupportedBitpoolRange 
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject DevSound
SbcEncoder InitializeDevSound
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc DevSound 
SbcEncoder GetSupportedBitpoolRange
delete SbcEncoder
[Endtest]

[Test]
title 9. Create Sbc SbcEncoderIntfc  - InputStream
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject InputStream
SbcEncoder SetDataTypeInputStream
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc InputStream 
delete SbcEncoder
[Endtest]

[Test]
title 9.1. Create Sbc SbcEncoderIntfc  - InputStream
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject InputStream
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc InputStream 
delete SbcEncoder
[Endtest]

[Test]
title 10. Apply Get Settings  - InputStream
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject InputStream
SbcEncoder SetDataTypeInputStream
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc InputStream 
SbcEncoder SetSamplingFrequency
SbcEncoder SetChannelMode
SbcEncoder SetNumOfSubbands
SbcEncoder SetNumOfBlocks
SbcEncoder SetAllocationMethod
SbcEncoder SetBitpoolSize
SbcEncoder ApplyConfig
SbcEncoder GetSamplingFrequency
SbcEncoder GetChannelMode
SbcEncoder GetNumOfBlocks
SbcEncoder GetNumOfSubbands
SbcEncoder GetAllocationMethod
SbcEncoder GetBitpoolSize
delete SbcEncoder
[Endtest]

[Test]
title 11. GetSupportedSamplingFrequencies   - InputStream
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject InputStream
SbcEncoder SetDataTypeInputStream
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc InputStream 
SbcEncoder GetSupportedSamplingFrequencies
delete SbcEncoder
[Endtest]

[Test]
title 12. GetSupportedChannelModes   - InputStream
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject InputStream
SbcEncoder SetDataTypeInputStream
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc InputStream 
SbcEncoder GetSupportedChannelModes
delete SbcEncoder
[Endtest]

[Test]
title 13. GetSupportedNumOfBlocks   - InputStream
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject InputStream
SbcEncoder SetDataTypeInputStream
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc InputStream 
SbcEncoder GetSupportedNumOfBlocks
delete SbcEncoder
[Endtest]

[Test]
title 14. GetSupportedNumOfSubbands   - InputStream
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject InputStream
SbcEncoder SetDataTypeInputStream
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc InputStream 
SbcEncoder GetSupportedNumOfSubbands
delete SbcEncoder
[Endtest]

[Test]
title 15. GetSupportedAllocationMethods  - InputStream 
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject InputStream
SbcEncoder SetDataTypeInputStream
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc InputStream 
SbcEncoder GetSupportedAllocationMethods
delete SbcEncoder
[Endtest]

[Test]
title 16. GetSupportedBitpoolRange  - InputStream 
create SbcEncoderIntfcTestClass SbcEncoder
SbcEncoder CreateObject InputStream
SbcEncoder SetDataTypeInputStream
waittestclass SbcEncoder
SbcEncoder CreateSbcEncoderIntfc InputStream 
SbcEncoder GetSupportedBitpoolRange
delete SbcEncoder
[Endtest]
