| Remarks   Given an amount of time in milliseconds obtains the corresponding number of samples.     Syntax   
| [Visual Basic] Public Function FromMsToSamples ( nTimeInMs as Int64 ) as Int64 | 
 |   
| [C#] public Int64 FromMsToSamples ( Int64 nTimeInMs ); | 
 |   
| [C++] public: Int64 FromMsToSamples ( Int64 nTimeInMs ); | 
 |     
| Parameter | Description |  
|   |   |  
| nTimeinMs | Time, expressed in milliseconds, that needs to be converted |     Return value   
| Value | Meaning |  
|   |   |  
| Negative value | An error occurred, check the LastError property value in order to see the error code meaning |  
| Value >= 0 | Time expressed in samples |                       |