/titanic_41/usr/src/cmd/audio/utilities/ |
H A D | AudioUnixfile.cc | 139 hdr_local = GetHeader(); in decode_filehdr() 158 setlength(GetHeader().Bytes_to_Time( in decode_filehdr() 163 (GetLength() != GetHeader().Bytes_to_Time(ohdr.data_size))) in decode_filehdr() 201 hdr_local = GetHeader(); in encode_filehdr() 216 ohdr.data_size = (uint_t)GetHeader().Time_to_Bytes(GetLength()); in encode_filehdr() 346 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in ReadData() 386 if (GetHeader().Bytes_to_Bytes(cnt) != len) { in ReadData() 390 pos = GetHeader().Bytes_to_Time(offset + len); in ReadData() 424 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in WriteData() 439 if (localByteOrder() != GetHeader().endian) in WriteData() [all …]
|
H A D | AudioBuffer.cc | 76 size = GetHeader().Time_to_Bytes(GetSize()); in alloc() 208 hfunc = (AudioHdr(AudioBuffer::*)() const)&AudioBuffer::GetHeader; in GetAddress() 337 offset = GetHeader().Time_to_Bytes(pos); in ReadData() 338 resid = GetHeader().Time_to_Bytes(GetLength()) - offset; in ReadData() 349 if (GetHeader().Bytes_to_Bytes(cnt) > 0) { in ReadData() 359 pos = GetHeader().Bytes_to_Time(offset + cnt); in ReadData() 402 offset = GetHeader().Time_to_Bytes(pos); in WriteData() 414 if (GetHeader().Bytes_to_Bytes(cnt) > 0) { in WriteData() 424 pos = GetHeader().Bytes_to_Time(offset + cnt); in WriteData() 452 local_length = pos + GetHeader().Bytes_to_Time(len); in AppendData() [all …]
|
H A D | AudioTypeSampleRate.cc | 86 inhdr = inbuf->GetHeader(); in Convert() 133 (int)inbuf->GetHeader().Time_to_Samples(inbuf->GetLength()), in Convert() 139 outbuf->GetHeader().Time_to_Samples(outbuf->GetSize()); in Convert() 144 if (nsamps > outbuf->GetHeader().Time_to_Samples(outbuf->GetSize())) { in Convert() 150 outbuf->SetLength(outbuf->GetHeader().Samples_to_Time(nsamps)); in Convert() 173 h = outbuf->GetHeader(); in Flush()
|
H A D | AudioRawPipe.cc | 61 err = GetHeader().Validate(); in Create() 97 err = GetHeader().Validate(); in Open() 108 setlength(GetHeader().Bytes_to_Time(st.st_size - offset)); in Open() 149 if ((err = seekread(GetHeader().Bytes_to_Time(val), setting)) in SetOffset()
|
H A D | AudioFile.cc | 398 if (GetHeader().Time_to_Bytes(GetLength()) != in Close() 407 (uint_t)GetHeader().Time_to_Bytes(GetLength()), 0, 0); in Close() 463 offset = GetHeader().Time_to_Bytes(pos); in ReadData() 476 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in ReadData() 487 pos = GetHeader().Bytes_to_Time(offset + len); in ReadData() 522 offset = GetHeader().Time_to_Bytes(pos); in seekread() 551 offset = GetHeader().Time_to_Bytes(pos); in seekwrite() 583 tohdr = to->GetHeader(); in AsyncCopy() 593 GetHeader().Time_to_Bytes(svfrom - frompos)) == 0)) { in AsyncCopy() 604 offset = (size_t)GetHeader().Time_to_Bytes(frompos); in AsyncCopy() [all …]
|
H A D | AudioGain.cc | 198 newhdr = inbuf->GetHeader(); in Process() 211 if (inbuf->GetHeader() != newhdr) { in Process() 248 inhdr = inbuf->GetHeader(); in process_dcfilter() 300 inhdr = inbuf->GetHeader(); in process_instant() 349 inhdr = inbuf->GetHeader(); in process_weighted()
|
H A D | AudioExtent.cc | 148 GetHeader() in GetHeader() function in AudioExtent 155 GetHeader( in GetHeader() function in AudioExtent 199 buflen = GetHeader(pos).Time_to_Bytes((Double)(newpos - off)); in ReadData()
|
H A D | AudioList.cc | 191 GetHeader() in GetHeader() function in AudioList 193 return (GetHeader(ReadPosition())); in GetHeader() 198 GetHeader( in GetHeader() function in AudioList 214 return (ep->aptr->GetHeader()); in GetHeader()
|
H A D | AudioTypeMux.cc | 88 inhdr = inbuf->GetHeader(); // Demux multi-channel data in Convert() 92 inhdr = multibuf[0]->GetHeader(); in Convert()
|
H A D | AudioTypeG72X.cc | 111 inhdr = inbuf->GetHeader(); in Convert() 256 h = outbuf->GetHeader(); in Flush()
|
H A D | AudioPipe.cc | 54 err = GetHeader().Validate(); in Create()
|
H A D | AudioTypeChannel.cc | 88 inhdr = inbuf->GetHeader(); in Convert()
|
H A D | Audio.cc | 341 tohdr = to->GetHeader(); in AsyncCopy()
|
H A D | AudioTypePcm.cc | 222 inhdr = inbuf->GetHeader(); in Convert()
|
/titanic_41/usr/src/cmd/audio/audioconvert/ |
H A D | main.cc | 262 ohdr = ifp->GetHeader(); in main() 263 ohdr = ifp->GetHeader(); in main() 274 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) { in main() 289 ohdr = ifp->GetHeader(); in main() 322 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) { in main() 328 if (noop_conversion(ifp->GetHeader(), ohdr, in main() 348 if (!pflag && (verify_conversion(ifp->GetHeader(), ohdr) in main()
|
H A D | convert.cc | 561 ihdr = ifp->GetHeader(); in build_conversion_list() 562 ohdr = ofp->GetHeader(); in build_conversion_list() 688 ihdr = ifp->GetHeader(); in do_convert() 689 ohdr = ofp->GetHeader(); in do_convert()
|
H A D | file.cc | 65 len = (size_t)buf->GetHeader().Time_to_Bytes(buf->GetLength()); in write_output()
|
/titanic_41/usr/src/cmd/audio/include/ |
H A D | AudioExtent.h | 66 virtual AudioHdr GetHeader(); // Get header 67 virtual AudioHdr GetHeader(Double pos); // Get header at pos
|
H A D | AudioList.h | 85 virtual AudioHdr GetHeader(); // Get header 86 virtual AudioHdr GetHeader(Double pos); // Get header at pos
|
H A D | Audio_inline.h | 86 return (GetHeader()); in GetDHeader()
|
H A D | AudioStream_inline.h | 47 GetHeader() in GetHeader() function
|
H A D | AudioStream.h | 78 virtual AudioHdr GetHeader(); // Get header
|
H A D | Audio.h | 136 virtual AudioHdr GetHeader() = 0; // Get header
|