Searched refs:GetHeader (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioTypeSampleRate.cc86 inhdr = inbuf->GetHeader();
133 (int)inbuf->GetHeader().Time_to_Samples(inbuf->GetLength()),
139 outbuf->GetHeader().Time_to_Samples(outbuf->GetSize());
144 if (nsamps > outbuf->GetHeader().Time_to_Samples(outbuf->GetSize())) {
150 outbuf->SetLength(outbuf->GetHeader().Samples_to_Time(nsamps));
173 h = outbuf->GetHeader();
H A DAudioRawPipe.cc61 err = GetHeader().Validate();
97 err = GetHeader().Validate();
108 setlength(GetHeader().Bytes_to_Time(st.st_size - offset));
149 if ((err = seekread(GetHeader().Bytes_to_Time(val), setting))
155 // to GetHeader().Time_to_Bytes....
H A DAudioUnixfile.cc139 hdr_local = GetHeader();
158 setlength(GetHeader().Bytes_to_Time(
163 (GetLength() != GetHeader().Bytes_to_Time(ohdr.data_size)))
201 hdr_local = GetHeader();
216 ohdr.data_size = (uint_t)GetHeader().Time_to_Bytes(GetLength());
346 if (GetHeader().Bytes_to_Bytes(cnt) == 0) {
386 if (GetHeader().Bytes_to_Bytes(cnt) != len) {
390 pos = GetHeader().Bytes_to_Time(offset + len);
424 if (GetHeader().Bytes_to_Bytes(cnt) == 0) {
439 if (localByteOrder() != GetHeader()
[all...]
H A DAudioBuffer.cc76 size = GetHeader().Time_to_Bytes(GetSize());
208 hfunc = (AudioHdr(AudioBuffer::*)() const)&AudioBuffer::GetHeader;
337 offset = GetHeader().Time_to_Bytes(pos);
338 resid = GetHeader().Time_to_Bytes(GetLength()) - offset;
349 if (GetHeader().Bytes_to_Bytes(cnt) > 0) {
359 pos = GetHeader().Bytes_to_Time(offset + cnt);
402 offset = GetHeader().Time_to_Bytes(pos);
414 if (GetHeader().Bytes_to_Bytes(cnt) > 0) {
424 pos = GetHeader().Bytes_to_Time(offset + cnt);
452 local_length = pos + GetHeader()
[all...]
H A DAudioExtent.cc148 GetHeader() function in class:AudioExtent
155 GetHeader( function in class:AudioExtent
166 // clients should always use GetHeader() in combination with ReadData()
199 buflen = GetHeader(pos).Time_to_Bytes((Double)(newpos - off));
H A DAudioFile.cc398 if (GetHeader().Time_to_Bytes(GetLength()) !=
407 (uint_t)GetHeader().Time_to_Bytes(GetLength()), 0, 0);
463 offset = GetHeader().Time_to_Bytes(pos);
476 if (GetHeader().Bytes_to_Bytes(cnt) == 0) {
487 pos = GetHeader().Bytes_to_Time(offset + len);
522 offset = GetHeader().Time_to_Bytes(pos);
551 offset = GetHeader().Time_to_Bytes(pos);
583 tohdr = to->GetHeader();
593 GetHeader().Time_to_Bytes(svfrom - frompos)) == 0)) {
604 offset = (size_t)GetHeader()
[all...]
H A DAudioGain.cc198 newhdr = inbuf->GetHeader();
211 if (inbuf->GetHeader() != newhdr) {
248 inhdr = inbuf->GetHeader();
300 inhdr = inbuf->GetHeader();
349 inhdr = inbuf->GetHeader();
H A DAudioList.cc191 GetHeader() function in class:AudioList
193 return (GetHeader(ReadPosition()));
198 GetHeader( function in class:AudioList
209 "AudioHdr:GetHeader()...position is beyond eof"),
214 return (ep->aptr->GetHeader());
226 // clients should always use GetHeader() in combination with ReadData()
H A DAudioPipe.cc54 err = GetHeader().Validate();
H A DAudioTypeMux.cc88 inhdr = inbuf->GetHeader(); // Demux multi-channel data
92 inhdr = multibuf[0]->GetHeader();
H A DAudioTypeG72X.cc111 inhdr = inbuf->GetHeader();
256 h = outbuf->GetHeader();
H A DAudioTypeChannel.cc88 inhdr = inbuf->GetHeader();
H A DAudio.cc341 tohdr = to->GetHeader();
H A DAudioTypePcm.cc222 inhdr = inbuf->GetHeader();
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioExtent.h66 virtual AudioHdr GetHeader(); // Get header
67 virtual AudioHdr GetHeader(Double pos); // Get header at pos
H A DAudioStream_inline.h47 GetHeader() function in class:AudioStream
H A DAudio_inline.h81 // Default get header at position routine does a normal GetHeader
86 return (GetHeader());
H A DAudioList.h85 virtual AudioHdr GetHeader(); // Get header
86 virtual AudioHdr GetHeader(Double pos); // Get header at pos
H A DAudioStream.h78 virtual AudioHdr GetHeader(); // Get header
H A DAudio.h136 virtual AudioHdr GetHeader() = 0; // Get header
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dmain.cc262 ohdr = ifp->GetHeader();
263 ohdr = ifp->GetHeader();
274 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) {
289 ohdr = ifp->GetHeader();
322 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) {
328 if (noop_conversion(ifp->GetHeader(), ohdr,
348 if (!pflag && (verify_conversion(ifp->GetHeader(), ohdr)
H A Dconvert.cc561 ihdr = ifp->GetHeader();
562 ohdr = ofp->GetHeader();
688 ihdr = ifp->GetHeader();
689 ohdr = ofp->GetHeader();
H A Dfile.cc65 len = (size_t)buf->GetHeader().Time_to_Bytes(buf->GetLength());

Completed in 90 milliseconds