identified by the transcriber while she is working on the file. This brings in the need of adding more transcripts connected a audio file while transcription process is in progress.
GetFileAllocationList interface in the server exposes a function named add transcript. This
function helps to add a new transcript to the current audio file opened in the editor.
public bool AddTranscript(int audioID, ref DataSet details)
Steps of adding a Transcript is described below
- Provide a tool bar button to add a transcript
- When user press this button brings up a dialog to enter the file name
- This box will by default contains the name of the last processed transcript with and _2 added to the end of the file
- User can then change the file name to whatever they want.
- When user press the okay button editor contact server using the above function prototype
provided in the GetFileAllocationList - A data set to be filled with transcript file name TAT etc
- transcriptID: set to 0
- TranscriptName: set to the user specified name
- AudioID : Set to the currenly opened audio files ID
- AllocationID: Set to zero
- AllocationID: Set to zero
- Call AddTranscript function
- It will return same dataset with valid data filled.
- In case function returns false check the Error Filed in the dataset
Fail Conditions
- If a file with same name exists
- Any other error in the server
Handling failure Condtions - Display error message on the Add Transcript dialog box.
- User can retry or cancel the action
No comments:
Post a Comment