/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioUnixfile.cc | 137 hdr_local = GetHeader(); in decode_filehdr() 156 setlength(GetHeader().Bytes_to_Time( in decode_filehdr() 161 (GetLength() != GetHeader().Bytes_to_Time(ohdr.data_size))) in decode_filehdr() 199 hdr_local = GetHeader(); in encode_filehdr() 214 ohdr.data_size = (uint_t)GetHeader().Time_to_Bytes(GetLength()); in encode_filehdr() 344 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in ReadData() 384 if (GetHeader().Bytes_to_Bytes(cnt) != len) { in ReadData() 388 pos = GetHeader().Bytes_to_Time(offset + len); in ReadData() 422 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in WriteData() 437 if (localByteOrder() != GetHeader().endian) in WriteData() [all …]
|
H A D | AudioBuffer.cc | 74 size = GetHeader().Time_to_Bytes(GetSize()); in alloc() 206 hfunc = (AudioHdr(AudioBuffer::*)() const)&AudioBuffer::GetHeader; in GetAddress() 335 offset = GetHeader().Time_to_Bytes(pos); in ReadData() 336 resid = GetHeader().Time_to_Bytes(GetLength()) - offset; in ReadData() 347 if (GetHeader().Bytes_to_Bytes(cnt) > 0) { in ReadData() 357 pos = GetHeader().Bytes_to_Time(offset + cnt); in ReadData() 400 offset = GetHeader().Time_to_Bytes(pos); in WriteData() 412 if (GetHeader().Bytes_to_Bytes(cnt) > 0) { in WriteData() 422 pos = GetHeader().Bytes_to_Time(offset + cnt); in WriteData() 450 local_length = pos + GetHeader().Bytes_to_Time(len); in AppendData() [all …]
|
H A D | AudioTypeSampleRate.cc | 88 inhdr = inbuf->GetHeader(); in Convert() 136 (int)inbuf->GetHeader().Time_to_Samples(inbuf->GetLength()), in Convert() 143 outbuf->GetHeader().Time_to_Samples(outbuf->GetSize()); in Convert() 149 if (nsamps > outbuf->GetHeader().Time_to_Samples(outbuf->GetSize())) { in Convert() 155 outbuf->SetLength(outbuf->GetHeader().Samples_to_Time(nsamps)); in Convert() 178 h = outbuf->GetHeader(); in Flush()
|
H A D | AudioFile.cc | 393 if (GetHeader().Time_to_Bytes(GetLength()) != in Close() 402 (uint_t)GetHeader().Time_to_Bytes(GetLength()), 0, 0); in Close() 458 offset = GetHeader().Time_to_Bytes(pos); in ReadData() 471 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in ReadData() 482 pos = GetHeader().Bytes_to_Time(offset + len); in ReadData() 517 offset = GetHeader().Time_to_Bytes(pos); in seekread() 546 offset = GetHeader().Time_to_Bytes(pos); in seekwrite() 578 tohdr = to->GetHeader(); in AsyncCopy() 589 GetHeader().Time_to_Bytes(svfrom - frompos)) == 0)) { in AsyncCopy() 600 offset = (size_t)GetHeader().Time_to_Bytes(frompos); in AsyncCopy() [all …]
|
H A D | AudioRawPipe.cc | 59 err = GetHeader().Validate(); in Create() 95 err = GetHeader().Validate(); in Open() 106 setlength(GetHeader().Bytes_to_Time(st.st_size - offset)); in Open() 147 if ((err = seekread(GetHeader().Bytes_to_Time(val), setting)) in SetOffset()
|
H A D | AudioGain.cc | 196 newhdr = inbuf->GetHeader(); in Process() 209 if (inbuf->GetHeader() != newhdr) { in Process() 246 inhdr = inbuf->GetHeader(); in process_dcfilter() 298 inhdr = inbuf->GetHeader(); in process_instant() 347 inhdr = inbuf->GetHeader(); in process_weighted()
|
H A D | AudioExtent.cc | 146 GetHeader() in GetHeader() function in AudioExtent 153 GetHeader( in GetHeader() function in AudioExtent 197 buflen = GetHeader(pos).Time_to_Bytes((Double)(newpos - off)); in ReadData()
|
H A D | AudioList.cc | 189 GetHeader() in GetHeader() function in AudioList 191 return (GetHeader(ReadPosition())); in GetHeader() 196 GetHeader( in GetHeader() function in AudioList 212 return (ep->aptr->GetHeader()); in GetHeader()
|
H A D | AudioTypeMux.cc | 86 inhdr = inbuf->GetHeader(); // Demux multi-channel data in Convert() 90 inhdr = multibuf[0]->GetHeader(); in Convert()
|
H A D | AudioTypeG72X.cc | 109 inhdr = inbuf->GetHeader(); in Convert() 255 h = outbuf->GetHeader(); in Flush()
|
H A D | AudioPipe.cc | 52 err = GetHeader().Validate(); in Create()
|
H A D | AudioTypeChannel.cc | 86 inhdr = inbuf->GetHeader(); in Convert()
|
H A D | Audio.cc | 339 tohdr = to->GetHeader(); in AsyncCopy()
|
H A D | AudioTypePcm.cc | 220 inhdr = inbuf->GetHeader(); in Convert()
|
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | main.cc | 259 ohdr = ifp->GetHeader(); in main() 260 ohdr = ifp->GetHeader(); in main() 271 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) { in main() 286 ohdr = ifp->GetHeader(); in main() 319 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) { in main() 325 if (noop_conversion(ifp->GetHeader(), ohdr, in main() 345 if (!pflag && (verify_conversion(ifp->GetHeader(), ohdr) in main()
|
H A D | convert.cc | 559 ihdr = ifp->GetHeader(); in build_conversion_list() 560 ohdr = ofp->GetHeader(); in build_conversion_list() 686 ihdr = ifp->GetHeader(); in do_convert() 687 ohdr = ofp->GetHeader(); in do_convert()
|
H A D | file.cc | 63 len = (size_t)buf->GetHeader().Time_to_Bytes(buf->GetLength()); in write_output()
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioExtent.h | 64 virtual AudioHdr GetHeader(); // Get header 65 virtual AudioHdr GetHeader(Double pos); // Get header at pos
|
H A D | AudioList.h | 83 virtual AudioHdr GetHeader(); // Get header 84 virtual AudioHdr GetHeader(Double pos); // Get header at pos
|
H A D | Audio_inline.h | 84 return (GetHeader()); in GetDHeader()
|
H A D | AudioStream_inline.h | 45 GetHeader() in GetHeader() function
|
H A D | AudioStream.h | 76 virtual AudioHdr GetHeader(); // Get header
|
H A D | Audio.h | 134 virtual AudioHdr GetHeader() = 0; // Get header
|