Wave audio devices support the following set of commands. Wave audio devices also support notify and wait as optional flags. You can add either or both of these flags to any wave audio command.
capability device_name |
{can eject | can play | can record | can save | compound device | device type | has audio | has video | inputs | outputs | uses files} |
close device_name, |
|
cue device_name |
[input | output] |
delete device_name |
[from position] [to position] |
info device_name |
[file | input | output | product] |
open device_name |
[alias device_alias] [buffer buffer_size] [shareable] [type device_type] |
pause device_name, |
|
play device_name |
[from position] [to position] |
record device_name |
[from position] [to position] [insert | overwrite] |
save device_name |
[file_name] |
seek device_name |
[to position | to start | to end] |
set device_name |
[alignment block_alignment] [any input] [any output] [audio all off | audio all on | audio left off | audio left on | audio right off | audio right on | video off | video on] [bitspersample bit_count] [bytespersec byte_rate] [channels channel_count] [format tag tag | format tag pcm] [input device_number] [output device_number] [samplespersec sample_rate] [time format milliseconds | time format ms | time format bytes | time format samples] |
status device_name |
{alignment | bitspersample | bytespersec | channels | current track | format tag | input | length | length track track_number | level | media present | mode | number of tracks | output | position | position track track_number | ready | samplespersec | start position | time format} |
stop device_name, |
|