X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Artifacts%2Fbin%2Fpublic%2FTizen.Multimedia.AudioIO.xml;h=57f29585688c431bc311cbc1394731b84ff98cae;hb=d463133eaf15b1636d1c0dec8bc632e1e579e07c;hp=61c435e29e7fe1de854d156c72d443456ff796a8;hpb=12c9ab8b3191a614dc9006b57c1cba6e1f3b6d13;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/Artifacts/bin/public/Tizen.Multimedia.AudioIO.xml b/Artifacts/bin/public/Tizen.Multimedia.AudioIO.xml index 61c435e..57f2958 100644 --- a/Artifacts/bin/public/Tizen.Multimedia.AudioIO.xml +++ b/Artifacts/bin/public/Tizen.Multimedia.AudioIO.xml @@ -1,1045 +1,1057 @@ - - - - Tizen.Multimedia.AudioIO - - - - - Provides the ability to directly manage the system audio input devices. - - http://tizen.org/privilege/recorder - - - - Specifies the minimum value allowed for the audio capture, in Hertz (Hz). - - - - - - Specifies the maximum value allowed for the audio capture, in Hertz (Hz). - - - - - - Occurs when the state of the AudioCapture is changed. - - - - - Gets the sample rate of the audio input data stream, in Hertz (Hz). - - - - - Gets the channel type of the audio input data stream. - - - - - Gets the sample type of the audio input data stream. - - - - - Gets the size allocated for the audio input buffer. - - The AudioPlayback has already been disposed. - - - - Prepares the AudioCapture for reading audio data by starting buffering of audio data from the device. - - - Operation failed due to internal error.\n - -or-\n - The current state is not . - - - - - - Unprepares the AudioCapture. - - - Operation failed due to internal error.\n - -or-\n - The current state is . - - - - - - Pauses buffering of audio data from the device. - - - The current state is .\n - -or-\n - The method is called in the event handler. - - - - - - Resumes buffering audio data from the device. - - - The current state is .\n - -or-\n - The method is called in the event handler. - - - - - - Flushes and discards buffered audio data from the input stream. - - The current state is . - - - - Sets the sound stream information to the audio input. - - The to apply for the AudioCapture. - is null. - has already been disposed. - is not supported. - Not able to retrieve information from . - - - - Provides the ability to record audio from system audio input devices in synchronous way. - - http://tizen.org/privilege/recorder - - - - Initializes a new instance of the AudioCapture class with the specified sample rate, channel and sampleType. - - The audio sample rate.(8000 ~ 48000Hz) - The audio channel type. - The audio sample type. - - is less than .\n - -or-\n - is greater than . - - - is invalid.\n - -or-\n - is invalid. - - The required privilege is not specified. - The system does not support microphone. - - - - Reads audio data from the audio input buffer. - - The number of bytes to be read. - The buffer of audio data captured. - The current state is not . - is equal to or less than zero. - - - - Provides the ability to record audio from system audio input devices in asynchronous way. - - http://tizen.org/privilege/recorder - - - - Occurs when audio data is available. - - - - - Initializes a new instance of the AsyncAudioCapture class with the specified sample rate, channel and sampleType. - - The audio sample rate.(8000 ~ 48000Hz) - The audio channel type. - The audio sample type. - - is less than .\n - -or-\n - is greater than . - - - is invalid.\n - -or-\n - is invalid. - - The required privilege is not specified. - The system does not support microphone. - - - - Provides data for the event. - - - - - Gets the audio data captured. - - - - - Specifies the states for the , and . - - - - - Not prepared. - - - - - The stream is running. - - - - - The stream is paused. - - - - - Enumeration for audio sample type. - - - - - Unsigned 8-bit audio samples. - - - - - Signed 16-bit audio samples. - - - - - Provides data for the event and . - - - - - Gets the previous state. - - - - - Gets the current state. - - - - - Gets the value indicating whether the state is changed by policy or not. - - - - - Provides the ability to directly manage the system audio output devices and play PCM (pulse-code modulation) data. - - - - - Specifies the minimum value allowed for the audio capture, in Hertz (Hz). - - - - - - Specifies the maximum value allowed for the audio capture, in Hertz (Hz). - - - - - - Occurs when audio playback data can be written. - - - - - - Occurs when the state of the AudioPlayback is changed. - - - - - Initializes a new instance of the AudioPlayback class with the specified sample rate, channel and sample type. - - The audio sample rate.(8000 ~ 48000Hz) - The audio channel type. - The audio sample type. - - is less than .\n - -or-\n - is greater than . - - - is invalid.\n - -or-\n - is invalid. - - - - - Gets the sample rate of the audio output data stream, in Hertz (Hz). - - - - - Gets the channel type of the audio output data stream. - - - - - Gets the sample type of the audio output data stream. - - - - - Gets the sound type supported by the audio output device. - - The AudioPlayback has already been disposed. - - - - Gets the size allocated for the audio output buffer. - - The AudioPlayback has already been disposed. - - - - Drains buffered audio data from the output stream. - It blocks the calling thread until draining the stream buffer completely. (e.g. end of playback) - - The AudioPlayback has already been disposed. - The current state is . - - - - Starts writing the audio data to the device. - - The buffer to write. - The written size. - is null. - The length of is zero. - The current state is not . - The AudioPlayback has already been disposed. - - - - Prepares the AudioPlayback. - - - This must be called before . - - - Operation failed due to internal error.\n - -or-\n - The current state is not . - - The AudioPlayback has already been disposed. - - - - - Unprepares the AudioPlayback. - - - Operation failed due to internal error.\n - -or-\n - The current state is . - - The AudioPlayback has already been disposed. - - - - - Pauses feeding of audio data to the device. - - It has no effect if the current is the . - - The current state is .\n - -or-\n - The method is called in the event handler. - - The AudioPlayback has already been disposed. - - - - - Resumes feeding of audio data to the device. - - It has no effect if the current is the . - - The current state is .\n - -or-\n - The method is called in an event handler. - - The AudioPlayback has already been disposed. - - - - - Flushes and discards buffered audio data from the output stream. - - The current state is . - The AudioPlayback has already been disposed. - - - - Applies the sound stream information to the AudioPlayback. - - The to apply for the AudioPlayback. - is null. - - has already been disposed.\n - -or-\n - The AudioPlayback has already been disposed. - - is not supported. - Not able to retrieve information from . - - - - Provides the ability to play a tone. - - - - - Plays a tone, asynchronously. - - A to play. - A . - The tone duration in milliseconds. -1 indicates an infinite duration. - A task that represents the asynchronous operation. - is invalid. - is null. - is less than -1. - Any invalid operations occurred. - is not a supported type. - has already been disposed. - - - - Plays a tone, asynchronously. - - A to play. - A . - The tone duration in milliseconds. -1 indicates an infinite duration. - The cancellation token which can be used to stop playing the tone. - A task that represents the asynchronous operation. - is invalid. - is null. - is less than -1. - Any invalid operations occurred. - is not a supported type. - has already been disposed. - - - - Enumeration for Audio Codec. - - - - - The default tone. - - - - - Predefined DTMF 0. - - - - - Predefined DTMF 1. - - - - - Predefined DTMF 2. - - - - - redefined DTMF 3. - - - - - Predefined DTMF 4. - - - - - Predefined DTMF 5. - - - - - Predefined DTMF 6. - - - - - Predefined DTMF 7. - - - - - Predefined DTMF 8. - - - - - Predefined DTMF 9. - - - - - Predefined DTMF Star - Asterisk. - - - - - Predefined DTMF sharp (#). - - - - - Predefined DTMF A (A). - - - - - Predefined DTMF B (B). - - - - - Predefined DTMF C (C). - - - - - Predefined DTMF D (D). - - - - - Call supervisory tone, Dial tone: CEPT: 425Hz, continuous. - - - - - Call supervisory tone, Dial tone: ANSI (IS-95): 350Hz+440Hz, continuous. - - - - - Call supervisory tone, Dial tone: JAPAN: 400Hz, continuous. - - - - - Call supervisory tone, Busy: CEPT: 425Hz, 500ms ON, 500ms OFF. - - - - - Call supervisory tone, Busy: ANSI (IS-95): 480Hz+620Hz, 500ms ON, 500ms OFF. - - - - - Call supervisory tone, Busy: JAPAN: 400Hz, 500ms ON, 500ms OFF. - - - - - Call supervisory tone, Congestion: CEPT, JAPAN: 425Hz, 200ms ON, 200ms OFF. - - - - - Call supervisory tone, Congestion: ANSI (IS-95): 480Hz+620Hz, 250ms ON, 250ms OFF. - - - - - Call supervisory tone, Radio path acknowledgment : CEPT, ANSI: 425Hz, 200ms ON. - - - - - Call supervisory tone, Radio path acknowledgment : JAPAN: 400Hz, 1s ON, 2s OFF. - - - - - Call supervisory tone, Radio path not available: 425Hz, 200ms ON, 200 OFF 3 bursts. - - - - - Call supervisory tone, Error/Special info: 950Hz+1400Hz+1800Hz, 330ms ON, 1s OFF. - - - - - Call supervisory tone, Call Waiting: CEPT, JAPAN: 425Hz, 200ms ON, 600ms OFF, 200ms ON, 3s OFF. - - - - - Call supervisory tone, Call Waiting: ANSI (IS-95): 440 Hz, 300 ms ON, 9.7 s OFF, (100 ms ON, 100 ms OFF, 100 ms ON, 9.7s OFF. - - - - - Call supervisory tone, Ring Tone: CEPT, JAPAN: 425Hz, 1s ON, 4s OFF. - - - - - Call supervisory tone, Ring Tone: ANSI (IS-95): 440Hz + 480Hz, 2s ON, 4s OFF. - - - - - General beep: 400Hz+1200Hz, 35ms ON. - - - - - Proprietary tone, positive acknowledgment: 1200Hz, 100ms ON, 100ms OFF 2 bursts. - - - - - Proprietary tone, negative acknowledgment: 300Hz+400Hz+500Hz, 400ms ON. - - - - - Proprietary tone, prompt tone: 400Hz+1200Hz, 200ms ON. - - - - - Proprietary tone, general double beep: twice 400Hz+1200Hz, 35ms ON, 200ms OFF, 35ms ON. - - - - - Call supervisory tone (IS-95), intercept tone: alternating 440 Hz and 620 Hz tones, each on for 250 ms. - - - - - Call supervisory tone (IS-95), abbreviated intercept: intercept tone limited to 4 seconds. - - - - - Call supervisory tone (IS-95), abbreviated congestion: congestion tone limited to 4 seconds. - - - - - Call supervisory tone (IS-95), confirm tone: a 350 Hz tone added to a 440 Hz tone repeated 3 times in a 100 ms on, 100 ms off cycle. - - - - - Call supervisory tone (IS-95), pip tone: four bursts of 480 Hz tone (0.1 s on, 0.1 s off). - - - - - 425Hz continuous. - - - - - CDMA USA Ringback: 440Hz+480Hz 2s ON, 4000 OFF. - - - - - CDMA Intercept tone: 440Hz 250ms ON, 620Hz 250ms ON. - - - - - CDMA Abbr Intercept tone: 440Hz 250ms ON, 620Hz 250ms ON. - - - - - CDMA Reorder tone: 480Hz+620Hz 250ms ON, 250ms OFF. - - - - - CDMA Abbr Reorder tone: 480Hz+620Hz 250ms ON, 250ms OFF repeated for 8 times. - - - - - CDMA Network Busy tone: 480Hz+620Hz 500ms ON, 500ms OFF continuous. - - - - - CDMA Confirm tone: 350Hz+440Hz 100ms ON, 100ms OFF repeated for 3 times. - - - - - CDMA answer tone: silent tone - definition Frequency 0, 0ms ON, 0ms OFF. - - - - - CDMA Network Callwaiting tone: 440Hz 300ms ON. - - - - - CDMA PIP tone: 480Hz 100ms ON, 100ms OFF repeated for 4 times. - - - - - ISDN Call Signal Normal tone: {2091Hz 32ms ON, 2556 64ms ON} 20 times, 2091 32ms ON, 2556 48ms ON, 4s OFF. - - - - - ISDN Call Signal Intergroup tone: {2091Hz 32ms ON, 2556 64ms ON} 8 times, 2091Hz 32ms ON, 400ms OFF, {2091Hz 32ms ON, 2556Hz 64ms ON} 8times, 2091Hz 32ms ON, 4s OFF. - - - - - ISDN Call Signal SP PRI tone:{2091Hz 32ms ON, 2556 64ms ON} 4 times 2091Hz 16ms ON, 200ms OFF, {2091Hz 32ms ON, 2556Hz 64ms ON} 4 times, 2091Hz 16ms ON, 200ms OFF. - - - - - ISDN Call sign PAT3 tone: silent tone. - - - - - ISDN Ping Ring tone: {2091Hz 32ms ON, 2556Hz 64ms ON} 5 times 2091Hz 20ms ON. - - - - - ISDN Pat5 tone: silent tone. - - - - - ISDN Pat6 tone: silent tone. - - - - - ISDN Pat7 tone: silent tone. - - - - - TONE_CDMA_HIGH_L tone: {3700Hz 25ms, 4000Hz 25ms} 40 times 4000ms OFF, Repeat. - - - - - TONE_CDMA_MED_L tone: {2600Hz 25ms, 2900Hz 25ms} 40 times 4000ms OFF, Repeat. - - - - - TONE_CDMA_LOW_L tone: {1300Hz 25ms, 1450Hz 25ms} 40 times, 4000ms OFF, Repeat. - - - - - CDMA HIGH SS tone: {3700Hz 25ms, 4000Hz 25ms} repeat 16 times, 400ms OFF, repeat. - - - - - CDMA MED SS tone: {2600Hz 25ms, 2900Hz 25ms} repeat 16 times, 400ms OFF, repeat. - - - - - CDMA LOW SS tone: {1300z 25ms, 1450Hz 25ms} repeat 16 times, 400ms OFF, repeat. - - - - - CDMA HIGH SSL tone: {3700Hz 25ms, 4000Hz 25ms} 8 times, 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} repeat 8 times, 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} repeat 16 times, 4000ms OFF, repeat. - - - - - CDMA MED SSL tone: {2600Hz 25ms, 2900Hz 25ms} 8 times, 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} repeat 8 times, 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} repeat 16 times, 4000ms OFF, repeat. - - - - - CDMA LOW SSL tone: {1300Hz 25ms, 1450Hz 25ms} 8 times, 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} repeat 8 times, 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} repeat 16 times, 4000ms OFF, repeat. - - - - - CDMA HIGH SS2 tone: {3700Hz 25ms, 4000Hz 25ms} 20 times, 1000ms OFF, {3700Hz 25ms, 4000Hz 25ms} 20 times, 3000ms OFF, repeat. - - - - - CDMA MED SS2 tone: {2600Hz 25ms, 2900Hz 25ms} 20 times, 1000ms OFF, {2600Hz 25ms, 2900Hz 25ms} 20 times, 3000ms OFF, repeat. - - - - - CDMA LOW SS2 tone: {1300Hz 25ms, 1450Hz 25ms} 20 times, 1000ms OFF, {1300Hz 25ms, 1450Hz 25ms} 20 times, 3000ms OFF, repeat. - - - - - CDMA HIGH SLS tone: {3700Hz 25ms, 4000Hz 25ms} 10 times, 500ms OFF, {3700Hz 25ms, 4000Hz 25ms} 20 times, 500ms OFF, {3700Hz 25ms, 4000Hz 25ms} 10 times, 3000ms OFF, REPEAT. - - - - - CDMA MED SLS tone: {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 20 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 3000ms OFF, REPEAT. - - - - - CDMA LOW SLS tone: {1300Hz 25ms, 1450Hz 25ms} 10 times, 500ms OFF, {1300Hz 25ms, 1450Hz 25ms} 20 times, 500ms OFF, {1300Hz 25ms, 1450Hz 25ms} 10 times, 3000ms OFF, REPEAT. - - - - - CDMA HIGH S X4 tone: {3700Hz 25ms, 4000Hz 25ms} 10 times, 500ms OFF, {3700Hz 25ms, 4000Hz 25ms} 10 times, 500ms OFF, {3700Hz 25ms, 4000Hz 25ms} 10 times, 500ms OFF, {3700Hz 25ms, 4000Hz 25ms} 10 times, 2500ms OFF, REPEAT. - - - - - CDMA MED S X4 tone: {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 2500ms OFF, REPEAT. - - - - - CDMA LOW S X4 tone: {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 2500ms OFF, REPEAT. - - - - - CDMA HIGH PBX L: {3700Hz 25ms, 4000Hz 25ms}20 times, 2000ms OFF, REPEAT. - - - - - CDMA MED PBX L: {2600Hz 25ms, 2900Hz 25ms}20 times, 2000ms OFF, REPEAT. - - - - - CDMA LOW PBX L: {1300Hz 25ms,1450Hz 25ms}20 times, 2000ms OFF, REPEAT. - - - - - CDMA HIGH PBX SS tone: {3700Hz 25ms, 4000Hz 25ms} 8 times 200 ms OFF, {3700Hz 25ms 4000Hz 25ms}8 times, 2000ms OFF, REPEAT. - - - - - CDMA MED PBX SS tone: {2600Hz 25ms, 2900Hz 25ms} 8 times 200 ms OFF, {2600Hz 25ms 2900Hz 25ms}8 times, 2000ms OFF, REPEAT. - - - - - CDMA LOW PBX SS tone: {1300Hz 25ms, 1450Hz 25ms} 8 times 200 ms OFF, {1300Hz 25ms 1450Hz 25ms}8 times, 2000ms OFF, REPEAT. - - - - - CDMA HIGH PBX SSL tone:{3700Hz 25ms, 4000Hz 25ms} 8 times 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} 8 times, 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} 16 times, 1000ms OFF, REPEAT. - - - - - CDMA MED PBX SSL tone:{2600Hz 25ms, 2900Hz 25ms} 8 times 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} 8 times, 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} 16 times, 1000ms OFF, REPEAT. - - - - - CDMA LOW PBX SSL tone:{1300Hz 25ms, 1450Hz 25ms} 8 times 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} 8 times, 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} 16 times, 1000ms OFF, REPEAT. - - - - - CDMA HIGH PBX SLS tone:{3700Hz 25ms, 4000Hz 25ms} 8 times 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} 16 times, 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} 8 times, 1000ms OFF, REPEAT. - - - - - CDMA MED PBX SLS tone:{2600Hz 25ms, 2900Hz 25ms} 8 times 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} 16 times, 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} 8 times, 1000ms OFF, REPEAT. - - - - - CDMA LOW PBX SLS tone:{1300Hz 25ms, 1450Hz 25ms} 8 times 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} 16 times, 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} 8 times, 1000ms OFF, REPEAT. - - - - - CDMA HIGH PBX X S4 tone: {3700Hz 25ms 4000Hz 25ms} 8 times, 200ms OFF, {3700Hz 25ms 4000Hz 25ms} 8 times, 200ms OFF, {3700Hz 25ms 4000Hz 25ms} 8 times, 200ms OFF, {3700Hz 25ms 4000Hz 25ms} 8 times, 800ms OFF, REPEAT. - - - - - CDMA MED PBX X S4 tone: {2600Hz 25ms 2900Hz 25ms} 8 times, 200ms OFF, {2600Hz 25ms 2900Hz 25ms} 8 times, 200ms OFF, {2600Hz 25ms 2900Hz 25ms} 8 times, 200ms OFF, {2600Hz 25ms 2900Hz 25ms} 8 times, 800ms OFF, REPEAT. - - - - - CDMA LOW PBX X S4 tone: {1300Hz 25ms 1450Hz 25ms} 8 times, 200ms OFF, {1300Hz 25ms 1450Hz 25ms} 8 times, 200ms OFF, {1300Hz 25ms 1450Hz 25ms} 8 times, 200ms OFF, {1300Hz 25ms 1450Hz 25ms} 8 times, 800ms OFF, REPEAT. - - - - - CDMA Alert Network Lite tone: 1109Hz 62ms ON, 784Hz 62ms ON, 740Hz 62ms ON 622Hz 62ms ON, 1109Hz 62ms ON. - - - - - CDMA Alert Auto Redial tone: {1245Hz 62ms ON, 659Hz 62ms ON} 3 times, 1245 62ms ON. - - - - - CDMA One Min Beep tone: 1150Hz+770Hz 400ms ON. - - - - - CDMA KEYPAD Volume key lite tone: 941Hz+1477Hz 120ms ON. - - - - - CDMA PRESSHOLDKEY LITE tone: 587Hz 375ms ON, 1175Hz 125ms ON. - - - - - CDMA ALERT INCALL LITE tone: 587Hz 62ms, 784 62ms, 831Hz 62ms, 784Hz 62ms, 1109 62ms, 784Hz 62ms, 831Hz 62ms, 784Hz 62ms. - - - - - CDMA EMERGENCY RINGBACK tone: {941Hz 125ms ON, 10ms OFF} 3times 4990ms OFF, REPEAT. - - - - - CDMA ALERT CALL GUARD tone: {1319Hz 125ms ON, 125ms OFF} 3 times. - - - - - CDMA SOFT ERROR LITE tone: 1047Hz 125ms ON, 370Hz 125ms. - - - - - CDMA CALLDROP LITE tone: 1480Hz 125ms, 1397Hz 125ms, 784Hz 125ms. - - - - - CDMA_NETWORK_BUSY_ONE_SHOT tone: 425Hz 500ms ON, 500ms OFF. - - - - - CDMA_ABBR_ALERT tone: 1150Hz+770Hz 400ms ON. - - - - - CDMA_SIGNAL_OFF - silent tone. - - - - - User Defined Tone: 100Hz continuous. - - - - - User Defined Tone: 200Hz continuous. - - - - - User Defined Tone: 300Hz continuous. - - - - - Provides the ability to play a wav file. - - - - - Plays a wav file based on the specified . - - A task that represents the asynchronous operation. - A file path to play. - A . - - is null. - -or- - is null. - - An internal error occurs. - does not exists. - The format of is not supported. - has already been disposed of. - - - - Plays a wav file based on the specified . - - A task that represents the asynchronous operation. - A file path to play. - A . - A cancellation token which can be used to stop. - - is null. - -or- - is null. - - An internal error occurs. - does not exists. - The format of is not supported. - has already been disposed. - - - + + + + Tizen.Multimedia.AudioIO + + + + + Provides the ability to directly manage the system audio input devices. + + http://tizen.org/privilege/recorder + + + + Specifies the minimum value allowed for the audio capture, in Hertz (Hz). + + + + + + Specifies the maximum value allowed for the audio capture, in Hertz (Hz). + + + + + + Occurs when the state of the AudioCapture is changed. + + + + + Gets the sample rate of the audio input data stream, in Hertz (Hz). + + + + + Gets the channel type of the audio input data stream. + + + + + Gets the sample type of the audio input data stream. + + + + + Gets the size allocated for the audio input buffer. + + The AudioPlayback has already been disposed of. + + + + Prepares the AudioCapture for reading audio data by starting buffering of audio data from the device. + + + Operation failed due to an internal error.\n + -or-\n + The current state is not . + + + + + + Unprepares the AudioCapture. + + + Operation failed due to an internal error.\n + -or-\n + The current state is . + + + + + + Pauses buffering of audio data from the device. + + + The current state is .\n + -or-\n + The method is called in the event handler. + + + + + + Resumes buffering audio data from the device. + + + The current state is .\n + -or-\n + The method is called in the event handler. + + + + + + Flushes and discards buffered audio data from the input stream. + + The current state is . + + + + Sets the sound stream information to the audio input. + + The to apply for the AudioCapture. + is null. + has already been disposed of. + is not supported. + Not able to retrieve information from . + + + + Provides the ability to record audio from system audio input devices in a synchronous way. + + http://tizen.org/privilege/recorder + + + + Initializes a new instance of the AudioCapture class with the specified sample rate, channel, and sampleType. + + The audio sample rate (8000 ~ 48000Hz). + The audio channel type. + The audio sample type. + + is less than .\n + -or-\n + is greater than . + + + is invalid.\n + -or-\n + is invalid. + + The required privilege is not specified. + The system does not support microphone. + + + + Reads audio data from the audio input buffer. + + The number of bytes to be read. + The buffer of audio data captured. + The current state is not . + is equal to or less than zero. + + + + Provides the ability to record audio from system audio input devices in an asynchronous way. + + http://tizen.org/privilege/recorder + + + + Occurs when audio data is available. + + + + + Initializes a new instance of the AsyncAudioCapture class with the specified sample rate, channel and sampleType. + + The audio sample rate (8000 ~ 48000Hz). + The audio channel type. + The audio sample type. + + is less than .\n + -or-\n + is greater than . + + + is invalid.\n + -or-\n + is invalid. + + The required privilege is not specified. + The system does not support microphone. + + + + Provides data for the event. + + + + + Gets the audio data captured. + + + + + Specifies the states for the , , and . + + + + + Not prepared. + + + + + The stream is running. + + + + + The stream is paused. + + + + + Specifies the audio sample types. + + + + + Unsigned 8-bit audio samples. + + + + + Signed 16-bit audio samples. + + + + + Provides data for the event and the event. + + + + + Gets the previous state. + + + + + Gets the current state. + + + + + Gets the value indicating whether the state is changed by a policy or not. + + + + + Provides the ability to directly manage the system audio output devices and play the PCM (pulse-code modulation) data. + + + + + Specifies the minimum value allowed for the audio capture, in Hertz (Hz). + + + + + + Specifies the maximum value allowed for the audio capture, in Hertz (Hz). + + + + + + Occurs when the audio playback data can be written. + + + + + + Occurs when the state of the AudioPlayback is changed. + + + + + Initializes a new instance of the AudioPlayback class with the specified sample rate, channel, and sample type. + + The audio sample rate (8000 ~ 48000Hz). + The audio channel type. + The audio sample type. + + is less than .\n + -or-\n + is greater than . + + + is invalid.\n + -or-\n + is invalid. + + + + + Gets the sample rate of the audio output data stream, in Hertz (Hz). + + + + + Gets the channel type of the audio output data stream. + + + + + Gets the sample type of the audio output data stream. + + + + + Gets the sound type supported by the audio output device. + + The AudioPlayback has already been disposed of. + + + + Gets the size allocated for the audio output buffer. + + The AudioPlayback has already been disposed of. + + + + Drains the buffered audio data from the output stream. + It blocks the calling thread until the drain of the stream buffer is complete, for example, at the end of playback. + + The AudioPlayback has already been disposed of. + The current state is . + + + + Starts writing the audio data to the device. + + The buffer to write. + The written size. + is null. + The length of is zero. + The current state is not . + The AudioPlayback has already been disposed of. + + + + Prepares the AudioPlayback. + + + This must be called before . + + + Operation failed due to an internal error.\n + -or-\n + The current state is not . + + The AudioPlayback has already been disposed of. + + + + + Unprepares the AudioPlayback. + + + Operation failed due to an internal error.\n + -or-\n + The current state is . + + The AudioPlayback has already been disposed of. + + + + + Pauses feeding of the audio data to the device. + + It has no effect if the current state is . + + The current state is .\n + -or-\n + The method is called in the event handler. + + The AudioPlayback has already been disposed of. + + + + + Resumes feeding of the audio data to the device. + + It has no effect if the current state is . + + The current state is .\n + -or-\n + The method is called in an event handler. + + The AudioPlayback has already been disposed of. + + + + + Flushes and discards the buffered audio data from the output stream. + + The current state is . + The AudioPlayback has already been disposed of. + + + + Applies the sound stream information to the AudioPlayback. + + The to apply for the AudioPlayback. + is null. + + has already been disposed of.\n + -or-\n + The AudioPlayback has already been disposed of. + + is not supported. + Not able to retrieve information from . + + + + Provides data for the event. + + + + + Gets the length of the buffer that can be written. + + The length of the buffer that can be written. + + + + + Provides the ability to play a tone. + + + + + Plays a tone, asynchronously. + + A to play. + A . + The tone duration in milliseconds. -1 indicates an infinite duration. + A task that represents the asynchronous operation. + is invalid. + is null. + is less than -1. + Any invalid operations occurred. + is not a supported type. + has already been disposed of. + + + + Plays a tone, asynchronously. + + A to play. + A . + The tone duration in milliseconds. -1 indicates an infinite duration. + The cancellation token which can be used to stop playing the tone. + A task that represents the asynchronous operation. + is invalid. + is null. + is less than -1. + Any invalid operations occurred. + is not a supported type. + has already been disposed of. + + + + Specifies the audio codec. + + + + + The default tone. + + + + + Predefined DTMF 0. + + + + + Predefined DTMF 1. + + + + + Predefined DTMF 2. + + + + + Predefined DTMF 3. + + + + + Predefined DTMF 4. + + + + + Predefined DTMF 5. + + + + + Predefined DTMF 6. + + + + + Predefined DTMF 7. + + + + + Predefined DTMF 8. + + + + + Predefined DTMF 9. + + + + + Predefined DTMF Star - Asterisk. + + + + + Predefined DTMF sharp (#). + + + + + Predefined DTMF A (A). + + + + + Predefined DTMF B (B). + + + + + Predefined DTMF C (C). + + + + + Predefined DTMF D (D). + + + + + Call supervisory tone, Dial tone: CEPT: 425Hz, continuous. + + + + + Call supervisory tone, Dial tone: ANSI (IS-95): 350Hz+440Hz, continuous. + + + + + Call supervisory tone, Dial tone: JAPAN: 400Hz, continuous. + + + + + Call supervisory tone, Busy: CEPT: 425Hz, 500ms ON, 500ms OFF. + + + + + Call supervisory tone, Busy: ANSI (IS-95): 480Hz+620Hz, 500ms ON, 500ms OFF. + + + + + Call supervisory tone, Busy: JAPAN: 400Hz, 500ms ON, 500ms OFF. + + + + + Call supervisory tone, Congestion: CEPT, JAPAN: 425Hz, 200ms ON, 200ms OFF. + + + + + Call supervisory tone, Congestion: ANSI (IS-95): 480Hz+620Hz, 250ms ON, 250ms OFF. + + + + + Call supervisory tone, Radio path acknowledgment : CEPT, ANSI: 425Hz, 200ms ON. + + + + + Call supervisory tone, Radio path acknowledgment : JAPAN: 400Hz, 1s ON, 2s OFF. + + + + + Call supervisory tone, Radio path not available: 425Hz, 200ms ON, 200 OFF 3 bursts. + + + + + Call supervisory tone, Error/Special info: 950Hz+1400Hz+1800Hz, 330ms ON, 1s OFF. + + + + + Call supervisory tone, Call Waiting: CEPT, JAPAN: 425Hz, 200ms ON, 600ms OFF, 200ms ON, 3s OFF. + + + + + Call supervisory tone, Call Waiting: ANSI (IS-95): 440 Hz, 300 ms ON, 9.7 s OFF, (100 ms ON, 100 ms OFF, 100 ms ON, 9.7s OFF. + + + + + Call supervisory tone, Ring Tone: CEPT, JAPAN: 425Hz, 1s ON, 4s OFF. + + + + + Call supervisory tone, Ring Tone: ANSI (IS-95): 440Hz + 480Hz, 2s ON, 4s OFF. + + + + + General beep: 400Hz+1200Hz, 35ms ON. + + + + + Proprietary tone, positive acknowledgment: 1200Hz, 100ms ON, 100ms OFF 2 bursts. + + + + + Proprietary tone, negative acknowledgment: 300Hz+400Hz+500Hz, 400ms ON. + + + + + Proprietary tone, prompt tone: 400Hz+1200Hz, 200ms ON. + + + + + Proprietary tone, general double beep: twice 400Hz+1200Hz, 35ms ON, 200ms OFF, 35ms ON. + + + + + Call supervisory tone (IS-95), intercept tone: alternating 440 Hz and 620 Hz tones, each on for 250 ms. + + + + + Call supervisory tone (IS-95), abbreviated intercept: intercept tone limited to 4 seconds. + + + + + Call supervisory tone (IS-95), abbreviated congestion: congestion tone limited to 4 seconds. + + + + + Call supervisory tone (IS-95), confirm tone: a 350 Hz tone added to a 440 Hz tone repeated 3 times in a 100 ms on, 100 ms off cycle. + + + + + Call supervisory tone (IS-95), pip tone: four bursts of 480 Hz tone (0.1 s on, 0.1 s off). + + + + + 425Hz continuous. + + + + + CDMA USA Ringback: 440Hz+480Hz 2s ON, 4000 OFF. + + + + + CDMA Intercept tone: 440Hz 250ms ON, 620Hz 250ms ON. + + + + + CDMA Abbr Intercept tone: 440Hz 250ms ON, 620Hz 250ms ON. + + + + + CDMA Reorder tone: 480Hz+620Hz 250ms ON, 250ms OFF. + + + + + CDMA Abbr Reorder tone: 480Hz+620Hz 250ms ON, 250ms OFF repeated for 8 times. + + + + + CDMA Network Busy tone: 480Hz+620Hz 500ms ON, 500ms OFF continuous. + + + + + CDMA Confirm tone: 350Hz+440Hz 100ms ON, 100ms OFF repeated for 3 times. + + + + + CDMA answer tone: silent tone - definition Frequency 0, 0ms ON, 0ms OFF. + + + + + CDMA Network Callwaiting tone: 440Hz 300ms ON. + + + + + CDMA PIP tone: 480Hz 100ms ON, 100ms OFF repeated for 4 times. + + + + + ISDN Call Signal Normal tone: {2091Hz 32ms ON, 2556 64ms ON} 20 times, 2091 32ms ON, 2556 48ms ON, 4s OFF. + + + + + ISDN Call Signal Intergroup tone: {2091Hz 32ms ON, 2556 64ms ON} 8 times, 2091Hz 32ms ON, 400ms OFF, {2091Hz 32ms ON, 2556Hz 64ms ON} 8times, 2091Hz 32ms ON, 4s OFF. + + + + + ISDN Call Signal SP PRI tone:{2091Hz 32ms ON, 2556 64ms ON} 4 times 2091Hz 16ms ON, 200ms OFF, {2091Hz 32ms ON, 2556Hz 64ms ON} 4 times, 2091Hz 16ms ON, 200ms OFF. + + + + + ISDN Call sign PAT3 tone: silent tone. + + + + + ISDN Ping Ring tone: {2091Hz 32ms ON, 2556Hz 64ms ON} 5 times 2091Hz 20ms ON. + + + + + ISDN Pat5 tone: silent tone. + + + + + ISDN Pat6 tone: silent tone. + + + + + ISDN Pat7 tone: silent tone. + + + + + TONE_CDMA_HIGH_L tone: {3700Hz 25ms, 4000Hz 25ms} 40 times 4000ms OFF, Repeat. + + + + + TONE_CDMA_MED_L tone: {2600Hz 25ms, 2900Hz 25ms} 40 times 4000ms OFF, Repeat. + + + + + TONE_CDMA_LOW_L tone: {1300Hz 25ms, 1450Hz 25ms} 40 times, 4000ms OFF, Repeat. + + + + + CDMA HIGH SS tone: {3700Hz 25ms, 4000Hz 25ms} repeat 16 times, 400ms OFF, repeat. + + + + + CDMA MED SS tone: {2600Hz 25ms, 2900Hz 25ms} repeat 16 times, 400ms OFF, repeat. + + + + + CDMA LOW SS tone: {1300z 25ms, 1450Hz 25ms} repeat 16 times, 400ms OFF, repeat. + + + + + CDMA HIGH SSL tone: {3700Hz 25ms, 4000Hz 25ms} 8 times, 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} repeat 8 times, 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} repeat 16 times, 4000ms OFF, repeat. + + + + + CDMA MED SSL tone: {2600Hz 25ms, 2900Hz 25ms} 8 times, 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} repeat 8 times, 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} repeat 16 times, 4000ms OFF, repeat. + + + + + CDMA LOW SSL tone: {1300Hz 25ms, 1450Hz 25ms} 8 times, 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} repeat 8 times, 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} repeat 16 times, 4000ms OFF, repeat. + + + + + CDMA HIGH SS2 tone: {3700Hz 25ms, 4000Hz 25ms} 20 times, 1000ms OFF, {3700Hz 25ms, 4000Hz 25ms} 20 times, 3000ms OFF, repeat. + + + + + CDMA MED SS2 tone: {2600Hz 25ms, 2900Hz 25ms} 20 times, 1000ms OFF, {2600Hz 25ms, 2900Hz 25ms} 20 times, 3000ms OFF, repeat. + + + + + CDMA LOW SS2 tone: {1300Hz 25ms, 1450Hz 25ms} 20 times, 1000ms OFF, {1300Hz 25ms, 1450Hz 25ms} 20 times, 3000ms OFF, repeat. + + + + + CDMA HIGH SLS tone: {3700Hz 25ms, 4000Hz 25ms} 10 times, 500ms OFF, {3700Hz 25ms, 4000Hz 25ms} 20 times, 500ms OFF, {3700Hz 25ms, 4000Hz 25ms} 10 times, 3000ms OFF, REPEAT. + + + + + CDMA MED SLS tone: {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 20 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 3000ms OFF, REPEAT. + + + + + CDMA LOW SLS tone: {1300Hz 25ms, 1450Hz 25ms} 10 times, 500ms OFF, {1300Hz 25ms, 1450Hz 25ms} 20 times, 500ms OFF, {1300Hz 25ms, 1450Hz 25ms} 10 times, 3000ms OFF, REPEAT. + + + + + CDMA HIGH S X4 tone: {3700Hz 25ms, 4000Hz 25ms} 10 times, 500ms OFF, {3700Hz 25ms, 4000Hz 25ms} 10 times, 500ms OFF, {3700Hz 25ms, 4000Hz 25ms} 10 times, 500ms OFF, {3700Hz 25ms, 4000Hz 25ms} 10 times, 2500ms OFF, REPEAT. + + + + + CDMA MED S X4 tone: {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 2500ms OFF, REPEAT. + + + + + CDMA LOW S X4 tone: {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 500ms OFF, {2600Hz 25ms, 2900Hz 25ms} 10 times, 2500ms OFF, REPEAT. + + + + + CDMA HIGH PBX L: {3700Hz 25ms, 4000Hz 25ms}20 times, 2000ms OFF, REPEAT. + + + + + CDMA MED PBX L: {2600Hz 25ms, 2900Hz 25ms}20 times, 2000ms OFF, REPEAT. + + + + + CDMA LOW PBX L: {1300Hz 25ms,1450Hz 25ms}20 times, 2000ms OFF, REPEAT. + + + + + CDMA HIGH PBX SS tone: {3700Hz 25ms, 4000Hz 25ms} 8 times 200 ms OFF, {3700Hz 25ms 4000Hz 25ms}8 times, 2000ms OFF, REPEAT. + + + + + CDMA MED PBX SS tone: {2600Hz 25ms, 2900Hz 25ms} 8 times 200 ms OFF, {2600Hz 25ms 2900Hz 25ms}8 times, 2000ms OFF, REPEAT. + + + + + CDMA LOW PBX SS tone: {1300Hz 25ms, 1450Hz 25ms} 8 times 200 ms OFF, {1300Hz 25ms 1450Hz 25ms}8 times, 2000ms OFF, REPEAT. + + + + + CDMA HIGH PBX SSL tone:{3700Hz 25ms, 4000Hz 25ms} 8 times 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} 8 times, 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} 16 times, 1000ms OFF, REPEAT. + + + + + CDMA MED PBX SSL tone:{2600Hz 25ms, 2900Hz 25ms} 8 times 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} 8 times, 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} 16 times, 1000ms OFF, REPEAT. + + + + + CDMA LOW PBX SSL tone:{1300Hz 25ms, 1450Hz 25ms} 8 times 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} 8 times, 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} 16 times, 1000ms OFF, REPEAT. + + + + + CDMA HIGH PBX SLS tone:{3700Hz 25ms, 4000Hz 25ms} 8 times 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} 16 times, 200ms OFF, {3700Hz 25ms, 4000Hz 25ms} 8 times, 1000ms OFF, REPEAT. + + + + + CDMA MED PBX SLS tone:{2600Hz 25ms, 2900Hz 25ms} 8 times 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} 16 times, 200ms OFF, {2600Hz 25ms, 2900Hz 25ms} 8 times, 1000ms OFF, REPEAT. + + + + + CDMA LOW PBX SLS tone:{1300Hz 25ms, 1450Hz 25ms} 8 times 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} 16 times, 200ms OFF, {1300Hz 25ms, 1450Hz 25ms} 8 times, 1000ms OFF, REPEAT. + + + + + CDMA HIGH PBX X S4 tone: {3700Hz 25ms 4000Hz 25ms} 8 times, 200ms OFF, {3700Hz 25ms 4000Hz 25ms} 8 times, 200ms OFF, {3700Hz 25ms 4000Hz 25ms} 8 times, 200ms OFF, {3700Hz 25ms 4000Hz 25ms} 8 times, 800ms OFF, REPEAT. + + + + + CDMA MED PBX X S4 tone: {2600Hz 25ms 2900Hz 25ms} 8 times, 200ms OFF, {2600Hz 25ms 2900Hz 25ms} 8 times, 200ms OFF, {2600Hz 25ms 2900Hz 25ms} 8 times, 200ms OFF, {2600Hz 25ms 2900Hz 25ms} 8 times, 800ms OFF, REPEAT. + + + + + CDMA LOW PBX X S4 tone: {1300Hz 25ms 1450Hz 25ms} 8 times, 200ms OFF, {1300Hz 25ms 1450Hz 25ms} 8 times, 200ms OFF, {1300Hz 25ms 1450Hz 25ms} 8 times, 200ms OFF, {1300Hz 25ms 1450Hz 25ms} 8 times, 800ms OFF, REPEAT. + + + + + CDMA Alert Network Lite tone: 1109Hz 62ms ON, 784Hz 62ms ON, 740Hz 62ms ON 622Hz 62ms ON, 1109Hz 62ms ON. + + + + + CDMA Alert Auto Redial tone: {1245Hz 62ms ON, 659Hz 62ms ON} 3 times, 1245 62ms ON. + + + + + CDMA One Min Beep tone: 1150Hz+770Hz 400ms ON. + + + + + CDMA KEYPAD Volume key lite tone: 941Hz+1477Hz 120ms ON. + + + + + CDMA PRESSHOLDKEY LITE tone: 587Hz 375ms ON, 1175Hz 125ms ON. + + + + + CDMA ALERT INCALL LITE tone: 587Hz 62ms, 784 62ms, 831Hz 62ms, 784Hz 62ms, 1109 62ms, 784Hz 62ms, 831Hz 62ms, 784Hz 62ms. + + + + + CDMA EMERGENCY RINGBACK tone: {941Hz 125ms ON, 10ms OFF} 3times 4990ms OFF, REPEAT. + + + + + CDMA ALERT CALL GUARD tone: {1319Hz 125ms ON, 125ms OFF} 3 times. + + + + + CDMA SOFT ERROR LITE tone: 1047Hz 125ms ON, 370Hz 125ms. + + + + + CDMA CALLDROP LITE tone: 1480Hz 125ms, 1397Hz 125ms, 784Hz 125ms. + + + + + CDMA_NETWORK_BUSY_ONE_SHOT tone: 425Hz 500ms ON, 500ms OFF. + + + + + CDMA_ABBR_ALERT tone: 1150Hz+770Hz 400ms ON. + + + + + CDMA_SIGNAL_OFF - silent tone. + + + + + User Defined Tone: 100Hz continuous. + + + + + User Defined Tone: 200Hz continuous. + + + + + User Defined Tone: 300Hz continuous. + + + + + Provides the ability to play a wav file. + + + + + Plays a wav file based on the specified . + + A task that represents the asynchronous operation. + A file path to play. + A . + + is null. + -or- + is null. + + An internal error occurs. + does not exists. + The format of is not supported. + has already been disposed of. + + + + Plays a wav file based on the specified . + + A task that represents the asynchronous operation. + A file path to play. + A . + A cancellation token which can be used to stop. + + is null. + -or- + is null. + + An internal error occurs. + does not exists. + The format of is not supported. + has already been disposed of. + + +