Home
last modified time | relevance | path

Searched refs:AUDIO_SUCCESS (Results 1 – 25 of 32) sorted by relevance

12

/titanic_44/usr/src/cmd/audio/utilities/
H A DAudioPipe.cc55 if (err != AUDIO_SUCCESS) in Create()
64 if (err != AUDIO_SUCCESS) { in Create()
73 return (AUDIO_SUCCESS); in Create()
88 if (err != AUDIO_SUCCESS) { in Open()
94 return (AUDIO_SUCCESS); in Open()
132 return (AUDIO_SUCCESS); in ReadData()
151 if (err == AUDIO_SUCCESS) in WriteData()
H A DAudioUnixfile.cc126 if (err != AUDIO_SUCCESS) in decode_filehdr()
149 if (err != AUDIO_SUCCESS) { in decode_filehdr()
177 return (AUDIO_SUCCESS); in decode_filehdr()
204 if (err != AUDIO_SUCCESS) { in encode_filehdr()
228 if (err == AUDIO_SUCCESS) in encode_filehdr()
305 return (AUDIO_SUCCESS); in Close()
335 if (err != AUDIO_SUCCESS) in ReadData()
347 err = AUDIO_SUCCESS; in ReadData()
362 err = AUDIO_SUCCESS; in ReadData()
379 err = AUDIO_SUCCESS; in ReadData()
[all …]
H A DAudioHdr.cc115 return (AUDIO_SUCCESS); in Validate()
125 if ((cnt == AUDIO_UNKNOWN_SIZE) || (Validate() != AUDIO_SUCCESS)) in Bytes_to_Time()
145 if (Undefined(sec) || (Validate() != AUDIO_SUCCESS)) in Time_to_Bytes()
162 if (Validate() != AUDIO_SUCCESS) in Bytes_to_Bytes()
175 if (Validate() != AUDIO_SUCCESS) in Bytes_to_Bytes()
189 if ((cnt == AUDIO_UNKNOWN_SIZE) || (Validate() != AUDIO_SUCCESS)) in Samples_to_Time()
202 if (Undefined(sec) || (Validate() != AUDIO_SUCCESS)) in Time_to_Samples()
H A Ddevice_ctl.c55 return (AUDIO_SUCCESS); in audio_getinfo()
69 return (AUDIO_SUCCESS); in audio_setinfo()
108 if ((err == AUDIO_SUCCESS) || (errno == EINTR)) { in audio__setplayhdr()
201 if (err == AUDIO_SUCCESS) { in audio__setval()
231 if (err == AUDIO_SUCCESS) { in audio__setgain()
271 if (err == AUDIO_SUCCESS) { in audio__setpause()
292 AUDIO_UNIXERROR : AUDIO_SUCCESS); in audio__flush()
312 return (AUDIO_SUCCESS); in audio_drain()
322 AUDIO_UNIXERROR : AUDIO_SUCCESS); in audio_play_eof()
H A DAudioStream.cc52 if (err != AUDIO_SUCCESS) in updateheader()
57 return (AUDIO_SUCCESS); in updateheader()
80 return (AUDIO_SUCCESS); in coerceEndian()
87 return (AUDIO_SUCCESS); in coerceEndian()
102 return (AUDIO_SUCCESS); in coerceEndian()
H A DAudioFile.cc115 return (AUDIO_SUCCESS); in SetTempPath()
152 if ((err == AUDIO_SUCCESS) && (unlink(tmpf) < 0)) { in createfile()
174 if (err != AUDIO_SUCCESS) { in createfile()
195 return (AUDIO_SUCCESS); in createfile()
243 return (AUDIO_SUCCESS); in OpenPath()
276 case AUDIO_SUCCESS: // found the file in OpenPath()
323 if (err != AUDIO_SUCCESS) { in tryopen()
364 return (AUDIO_SUCCESS); in tryopen()
382 return (AUDIO_SUCCESS); in SetAccessType()
477 err = AUDIO_SUCCESS; in ReadData()
[all …]
H A DAudioRawPipe.cc62 if (err != AUDIO_SUCCESS) in Create()
76 return (AUDIO_SUCCESS); in Create()
98 if (err != AUDIO_SUCCESS) { in Open()
150 != AUDIO_SUCCESS) { in SetOffset()
162 return (AUDIO_SUCCESS); in SetOffset()
H A Dfilehdr.c115 if (err != AUDIO_SUCCESS) { in audio_write_filehdr()
126 return (AUDIO_SUCCESS); in audio_write_filehdr()
179 return (AUDIO_SUCCESS); in audio_rewrite_aiff_filesize()
210 return (AUDIO_SUCCESS); in audio_rewrite_au_filesize()
252 return (AUDIO_SUCCESS); in audio_rewrite_wav_filesize()
335 AUDIO_SUCCESS) { in audio_read_filehdr()
412 return (AUDIO_SUCCESS); in audio_read_filehdr()
421 return (AUDIO_SUCCESS); in audio_read_filehdr()
462 AUDIO_SUCCESS)) { in audio_isaudiofile()
611 return (AUDIO_SUCCESS); in decode_aiff()
[all …]
H A DAudioTypeSampleRate.cc109 return (AUDIO_SUCCESS); in Convert()
115 return (AUDIO_SUCCESS); in Convert()
157 return (AUDIO_SUCCESS); in Convert()
172 return (AUDIO_SUCCESS); in Flush()
193 return (AUDIO_SUCCESS); in Flush()
H A DAudioBuffer.cc177 return (AUDIO_SUCCESS); in alloc()
243 return (AUDIO_SUCCESS); in SetSize()
248 return (AUDIO_SUCCESS); in SetSize()
274 return (AUDIO_SUCCESS); in SetHeader()
282 return (AUDIO_SUCCESS); in SetHeader()
348 err = AUDIO_SUCCESS; in ReadData()
413 err = AUDIO_SUCCESS; in WriteData()
507 err = AUDIO_SUCCESS; in AsyncCopy()
H A DAudioTypeG72X.cc131 return (AUDIO_SUCCESS); in Convert()
236 return (AUDIO_SUCCESS); in Convert()
251 return (AUDIO_SUCCESS); in Flush()
254 return (AUDIO_SUCCESS); in Flush()
282 return (AUDIO_SUCCESS); in Flush()
H A DAudioTypeChannel.cc100 return (AUDIO_SUCCESS); in Convert()
202 return (AUDIO_SUCCESS); in Convert()
209 return (AUDIO_SUCCESS); in Flush()
H A DAudioTypeMux.cc105 return (AUDIO_SUCCESS); in Convert()
227 return (AUDIO_SUCCESS); in Convert()
234 return (AUDIO_SUCCESS); in Flush()
H A DAudio.cc88 if (code == AUDIO_SUCCESS) in RaiseError()
299 } while (err == AUDIO_SUCCESS); in Copy()
306 return (AUDIO_SUCCESS); in Copy()
H A DAudioLib.cc65 return (AUDIO_SUCCESS); in Audio_OpenInputFile()
H A DAudioList.cc332 return (AUDIO_SUCCESS); in Insert()
350 return (AUDIO_SUCCESS); in Append()
H A DAudioHdrParse.cc249 return (AUDIO_SUCCESS); in RateParse()
312 return (AUDIO_SUCCESS); in ChannelParse()
587 return (AUDIO_SUCCESS); in EncodingParse()
H A Dg721.c617 return (AUDIO_SUCCESS); in g721_encode()
713 return (AUDIO_SUCCESS); in g721_encode()
810 return (AUDIO_SUCCESS); in g721_decode()
/titanic_44/usr/src/cmd/audio/audiorecord/
H A Daudiorecord.c155 if (audio_pause_record(Audio_fd) == AUDIO_SUCCESS) in sigint()
398 if (err != AUDIO_SUCCESS) { in main()
499 if (audio_pause_record(Audio_fd) != AUDIO_SUCCESS) { in main()
505 if (audio_get_record_config(Audio_fd, &Save_hdr) != AUDIO_SUCCESS) { in main()
515 if (audio_flush_record(Audio_fd) != AUDIO_SUCCESS) { in main()
552 if (audio_set_record_config(Audio_fd, &Dev_hdr) != AUDIO_SUCCESS) { in main()
559 if (audio_resume_record(Audio_fd) != AUDIO_SUCCESS) { in main()
592 Ilen) != AUDIO_SUCCESS) { in main()
620 if (err != AUDIO_SUCCESS) { in main()
708 if (audio_get_record_error(Audio_fd, (unsigned *)&err) != AUDIO_SUCCESS) in main()
/titanic_44/usr/src/cmd/audio/audioconvert/
H A Dconvert.cc247 return (AUDIO_SUCCESS); in add_mux_convert()
287 return (AUDIO_SUCCESS); in add_pcm_convert()
334 return (AUDIO_SUCCESS); in add_channel_convert()
403 return (AUDIO_SUCCESS); in add_compress()
463 return (AUDIO_SUCCESS); in add_decompress()
519 return (AUDIO_SUCCESS); in add_rate_convert()
692 if ((err = build_conversion_list(list, ifp, ofp)) != AUDIO_SUCCESS) { in do_convert()
745 if ((err = obuf->SetHeader(ihdr)) != AUDIO_SUCCESS) { in do_convert()
785 if ((err = write_output(obuf, ofp)) != AUDIO_SUCCESS) { in do_convert()
830 if ((err = write_output(obuf, ofp)) != AUDIO_SUCCESS) { in do_convert()
H A Dfile.cc155 &infosize) == AUDIO_SUCCESS) { in open_input_file()
292 if ((err = ofp->SetHeader(ohdr)) != AUDIO_SUCCESS) { in create_output_file()
296 if ((err = ofp->Create()) != AUDIO_SUCCESS) { in create_output_file()
/titanic_44/usr/src/cmd/audio/audioplay/
H A Daudioplay.c226 if (audio_get_play_config(Audio_fd, &Dev_hdr) != AUDIO_SUCCESS) { in open_audio()
237 if (err != AUDIO_SUCCESS) { in open_audio()
366 != AUDIO_SUCCESS) { in main()
420 if (err != AUDIO_SUCCESS) { in main()
466 if (audio_drain(Audio_fd, FALSE) != AUDIO_SUCCESS) { in main()
629 if (err != AUDIO_SUCCESS) { in main()
650 if (err != AUDIO_SUCCESS) { in main()
714 if (err != AUDIO_SUCCESS) { in main()
740 if (err != AUDIO_SUCCESS) { in main()
852 case AUDIO_SUCCESS: in reconfig()
/titanic_44/usr/src/cmd/audio/include/
H A Daudio_errno.h42 AUDIO_SUCCESS = 0, /* no error */ enumerator
H A DAudioStream_inline.h42 return (hdr.Validate() == AUDIO_SUCCESS); in hdrset()
H A DAudioError.h55 inline AudioError(audioerror_t val = AUDIO_SUCCESS): // Constructor

12