/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioUnixfile.cc | 124 if (err != AUDIO_SUCCESS) in decode_filehdr() 147 if (err != AUDIO_SUCCESS) { in decode_filehdr() 175 return (AUDIO_SUCCESS); in decode_filehdr() 202 if (err != AUDIO_SUCCESS) { in encode_filehdr() 226 if (err == AUDIO_SUCCESS) in encode_filehdr() 303 return (AUDIO_SUCCESS); in Close() 333 if (err != AUDIO_SUCCESS) in ReadData() 345 err = AUDIO_SUCCESS; in ReadData() 360 err = AUDIO_SUCCESS; in ReadData() 377 err = AUDIO_SUCCESS; in ReadData() [all …]
|
H A D | AudioPipe.cc | 53 if (err != AUDIO_SUCCESS) in Create() 62 if (err != AUDIO_SUCCESS) { in Create() 71 return (AUDIO_SUCCESS); in Create() 86 if (err != AUDIO_SUCCESS) { in Open() 92 return (AUDIO_SUCCESS); in Open() 130 return (AUDIO_SUCCESS); in ReadData() 149 if (err == AUDIO_SUCCESS) in WriteData()
|
H A D | AudioHdr.cc | 113 return (AUDIO_SUCCESS); in Validate() 123 if ((cnt == AUDIO_UNKNOWN_SIZE) || (Validate() != AUDIO_SUCCESS)) in Bytes_to_Time() 143 if (Undefined(sec) || (Validate() != AUDIO_SUCCESS)) in Time_to_Bytes() 160 if (Validate() != AUDIO_SUCCESS) in Bytes_to_Bytes() 173 if (Validate() != AUDIO_SUCCESS) in Bytes_to_Bytes() 187 if ((cnt == AUDIO_UNKNOWN_SIZE) || (Validate() != AUDIO_SUCCESS)) in Samples_to_Time() 200 if (Undefined(sec) || (Validate() != AUDIO_SUCCESS)) in Time_to_Samples()
|
H A D | AudioFile.cc | 110 return (AUDIO_SUCCESS); in SetTempPath() 147 if ((err == AUDIO_SUCCESS) && (unlink(tmpf) < 0)) { in createfile() 169 if (err != AUDIO_SUCCESS) { in createfile() 190 return (AUDIO_SUCCESS); in createfile() 238 return (AUDIO_SUCCESS); in OpenPath() 271 case AUDIO_SUCCESS: // found the file in OpenPath() 318 if (err != AUDIO_SUCCESS) { in tryopen() 359 return (AUDIO_SUCCESS); in tryopen() 377 return (AUDIO_SUCCESS); in SetAccessType() 472 err = AUDIO_SUCCESS; in ReadData() [all …]
|
H A D | device_ctl.c | 53 return (AUDIO_SUCCESS); in audio_getinfo() 67 return (AUDIO_SUCCESS); in audio_setinfo() 106 if ((err == AUDIO_SUCCESS) || (errno == EINTR)) { in audio__setplayhdr() 199 if (err == AUDIO_SUCCESS) { in audio__setval() 229 if (err == AUDIO_SUCCESS) { in audio__setgain() 269 if (err == AUDIO_SUCCESS) { in audio__setpause() 290 AUDIO_UNIXERROR : AUDIO_SUCCESS); in audio__flush() 310 return (AUDIO_SUCCESS); in audio_drain() 320 AUDIO_UNIXERROR : AUDIO_SUCCESS); in audio_play_eof()
|
H A D | AudioStream.cc | 50 if (err != AUDIO_SUCCESS) in updateheader() 55 return (AUDIO_SUCCESS); in updateheader() 78 return (AUDIO_SUCCESS); in coerceEndian() 85 return (AUDIO_SUCCESS); in coerceEndian() 100 return (AUDIO_SUCCESS); in coerceEndian()
|
H A D | AudioRawPipe.cc | 60 if (err != AUDIO_SUCCESS) in Create() 74 return (AUDIO_SUCCESS); in Create() 96 if (err != AUDIO_SUCCESS) { in Open() 148 != AUDIO_SUCCESS) { in SetOffset() 160 return (AUDIO_SUCCESS); in SetOffset()
|
H A D | AudioTypeSampleRate.cc | 111 return (AUDIO_SUCCESS); in Convert() 117 return (AUDIO_SUCCESS); in Convert() 129 if (err != AUDIO_SUCCESS) { in Convert() 162 return (AUDIO_SUCCESS); in Convert() 177 return (AUDIO_SUCCESS); in Flush() 198 return (AUDIO_SUCCESS); in Flush()
|
H A D | filehdr.c | 113 if (err != AUDIO_SUCCESS) { in audio_write_filehdr() 124 return (AUDIO_SUCCESS); in audio_write_filehdr() 177 return (AUDIO_SUCCESS); in audio_rewrite_aiff_filesize() 208 return (AUDIO_SUCCESS); in audio_rewrite_au_filesize() 250 return (AUDIO_SUCCESS); in audio_rewrite_wav_filesize() 333 AUDIO_SUCCESS) { in audio_read_filehdr() 410 return (AUDIO_SUCCESS); in audio_read_filehdr() 419 return (AUDIO_SUCCESS); in audio_read_filehdr() 460 AUDIO_SUCCESS)) { in audio_isaudiofile() 609 return (AUDIO_SUCCESS); in decode_aiff() [all …]
|
H A D | AudioBuffer.cc | 175 return (AUDIO_SUCCESS); in alloc() 241 return (AUDIO_SUCCESS); in SetSize() 246 return (AUDIO_SUCCESS); in SetSize() 272 return (AUDIO_SUCCESS); in SetHeader() 280 return (AUDIO_SUCCESS); in SetHeader() 346 err = AUDIO_SUCCESS; in ReadData() 411 err = AUDIO_SUCCESS; in WriteData() 453 if (err != AUDIO_SUCCESS) in AppendData() 506 err = AUDIO_SUCCESS; in AsyncCopy()
|
H A D | AudioTypeG72X.cc | 129 return (AUDIO_SUCCESS); in Convert() 141 if (err != AUDIO_SUCCESS) { in Convert() 235 return (AUDIO_SUCCESS); in Convert() 250 return (AUDIO_SUCCESS); in Flush() 253 return (AUDIO_SUCCESS); in Flush() 281 return (AUDIO_SUCCESS); in Flush()
|
H A D | AudioTypeMux.cc | 103 return (AUDIO_SUCCESS); in Convert() 130 if (err != AUDIO_SUCCESS) { in Convert() 174 if (err != AUDIO_SUCCESS) { in Convert() 227 return (AUDIO_SUCCESS); in Convert() 234 return (AUDIO_SUCCESS); in Flush()
|
H A D | AudioTypeChannel.cc | 98 return (AUDIO_SUCCESS); in Convert() 121 if (err != AUDIO_SUCCESS) { in Convert() 201 return (AUDIO_SUCCESS); in Convert() 208 return (AUDIO_SUCCESS); in Flush()
|
H A D | Audio.cc | 86 if (code == AUDIO_SUCCESS) in RaiseError() 297 } while (err == AUDIO_SUCCESS); in Copy() 304 return (AUDIO_SUCCESS); in Copy() 341 if (err != AUDIO_SUCCESS) in AsyncCopy()
|
H A D | AudioList.cc | 330 return (AUDIO_SUCCESS); in Insert() 348 return (AUDIO_SUCCESS); in Append()
|
H A D | AudioLib.cc | 63 return (AUDIO_SUCCESS); in Audio_OpenInputFile()
|
H A D | AudioHdrParse.cc | 250 return (AUDIO_SUCCESS); in RateParse() 313 return (AUDIO_SUCCESS); in ChannelParse() 588 return (AUDIO_SUCCESS); in EncodingParse()
|
H A D | AudioTypePcm.cc | 248 if (err != AUDIO_SUCCESS) { in Convert() 491 return (AUDIO_SUCCESS); in Convert() 498 return (AUDIO_SUCCESS); in Flush()
|
/illumos-gate/usr/src/cmd/audio/audiorecord/ |
H A D | audiorecord.c | 158 if (audio_pause_record(Audio_fd) == AUDIO_SUCCESS) in sigint() 401 if (err != AUDIO_SUCCESS) { in main() 502 if (audio_pause_record(Audio_fd) != AUDIO_SUCCESS) { in main() 508 if (audio_get_record_config(Audio_fd, &Save_hdr) != AUDIO_SUCCESS) { in main() 518 if (audio_flush_record(Audio_fd) != AUDIO_SUCCESS) { in main() 555 if (audio_set_record_config(Audio_fd, &Dev_hdr) != AUDIO_SUCCESS) { in main() 562 if (audio_resume_record(Audio_fd) != AUDIO_SUCCESS) { in main() 595 Ilen) != AUDIO_SUCCESS) { in main() 623 if (err != AUDIO_SUCCESS) { in main() 711 if (audio_get_record_error(Audio_fd, (unsigned *)&err) != AUDIO_SUCCESS) in main()
|
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | convert.cc | 245 return (AUDIO_SUCCESS); in add_mux_convert() 285 return (AUDIO_SUCCESS); in add_pcm_convert() 332 return (AUDIO_SUCCESS); in add_channel_convert() 401 return (AUDIO_SUCCESS); in add_compress() 461 return (AUDIO_SUCCESS); in add_decompress() 517 return (AUDIO_SUCCESS); in add_rate_convert() 690 if ((err = build_conversion_list(list, ifp, ofp)) != AUDIO_SUCCESS) { in do_convert() 743 if ((err = obuf->SetHeader(ihdr)) != AUDIO_SUCCESS) { in do_convert() 783 if ((err = write_output(obuf, ofp)) != AUDIO_SUCCESS) { in do_convert() 828 if ((err = write_output(obuf, ofp)) != AUDIO_SUCCESS) { in do_convert()
|
H A D | file.cc | 153 &infosize) == AUDIO_SUCCESS) { in open_input_file() 290 if ((err = ofp->SetHeader(ohdr)) != AUDIO_SUCCESS) { in create_output_file() 294 if ((err = ofp->Create()) != AUDIO_SUCCESS) { in create_output_file()
|
/illumos-gate/usr/src/cmd/audio/audioplay/ |
H A D | audioplay.c | 229 if (audio_get_play_config(Audio_fd, &Dev_hdr) != AUDIO_SUCCESS) { in open_audio() 240 if (err != AUDIO_SUCCESS) { in open_audio() 370 != AUDIO_SUCCESS) { in main() 424 if (err != AUDIO_SUCCESS) { in main() 470 if (audio_drain(Audio_fd, FALSE) != AUDIO_SUCCESS) { in main() 633 if (err != AUDIO_SUCCESS) { in main() 654 if (err != AUDIO_SUCCESS) { in main() 718 if (err != AUDIO_SUCCESS) { in main() 744 if (err != AUDIO_SUCCESS) { in main() 857 case AUDIO_SUCCESS: in reconfig()
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | audio_errno.h | 40 AUDIO_SUCCESS = 0, /* no error */ enumerator
|
H A D | AudioStream_inline.h | 40 return (hdr.Validate() == AUDIO_SUCCESS); in hdrset()
|
H A D | AudioError.h | 54 inline AudioError(audioerror_t val = AUDIO_SUCCESS): // Constructor
|