/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioHdr.h | 58 // sample_rate Number of samples per second (per channel). 88 // C = (channels * bytes_per_unit * sample_rate) / samples_per_unit 123 unsigned int sample_rate; // samples per second member in class:AudioHdr 131 sample_rate(0), samples_per_unit(0), bytes_per_unit(0), 140 sample_rate(hdr.sample_rate), 190 hdr.sample_rate = sample_rate; 202 return ((sample_rate == tst.sample_rate) [all...] |
H A D | audio_hdr.h | 49 * sample_rate Number of samples per second (per channel). 86 * C = (channels * bytes_per_unit * sample_rate) / samples_per_unit 91 unsigned sample_rate; /* samples per second */ member in struct:__anon25
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioHdr.cc | 57 sample_rate = 0; 71 (sample_rate < 1) || (channels < 1)) 132 ((double)(channels * bytes_per_unit * sample_rate) / 149 ((double)(channels * bytes_per_unit * sample_rate) / 193 (double)sample_rate)); 207 (((double)sec * (double)sample_rate) / (double)samples_per_unit)));
|
H A D | AudioTypeSampleRate.cc | 62 ((h.sample_rate != output_rate) && (h.sample_rate != input_rate)) || 102 if ((inhdr.sample_rate != input_rate) || 103 (outhdr.sample_rate != output_rate)) { 108 if (inhdr.sample_rate == outhdr.sample_rate) {
|
H A D | hdr_misc.c | 51 ((double)(hp->channels * hp->bytes_per_unit * hp->sample_rate) / 67 ((double)(hp->channels * hp->bytes_per_unit * hp->sample_rate) / 197 if (h1->sample_rate != h2->sample_rate) 275 (void) sprintf(sbuf, "%.3fkHz", ((double)hdrp->sample_rate / 1000.));
|
H A D | device_ctl.c | 95 prinfo->sample_rate = hdrp->sample_rate; 109 hdrp->sample_rate = prinfo->sample_rate;
|
H A D | AudioTypeChannel.cc | 94 if ((inhdr.sample_rate != outhdr.sample_rate) ||
|
H A D | AudioTypeMux.cc | 99 if ((inhdr.sample_rate != outhdr.sample_rate) ||
|
H A D | AudioUnixfile.cc | 140 hdr_local.sample_rate = ohdr.sample_rate; 208 ohdr.sample_rate = hdr_local.sample_rate;
|
H A D | AudioTypeG72X.cc | 124 (inhdr.sample_rate != outhdr.sample_rate) ||
|
H A D | filehdr.c | 579 hdrp->sample_rate = sr; 660 AUDIO_AU_FILE2HOST(&fhdr.au_sample_rate, &hdrp->sample_rate); 711 AUDIO_WAV_FILE2HOST_INT(&fhdr.wav_fmt_sample_rate, &hdrp->sample_rate); 939 convert_to_ieee_extended((double)hdrp->sample_rate, 1099 AUDIO_AU_HOST2FILE(&hdrp->sample_rate, &fhdr.au_sample_rate); 1188 bytes_per_second = hdrp->sample_rate * hdrp->channels * 1197 AUDIO_WAV_HOST2FILE_INT(&hdrp->sample_rate, &fhdr.wav_fmt_sample_rate);
|
H A D | AudioHdrParse.cc | 75 ratek = sample_rate / 1000; 76 rateh = sample_rate % 1000; 248 sample_rate = (unsigned int) rate;
|
H A D | AudioTypePcm.cc | 233 if ((inhdr.sample_rate != outhdr.sample_rate) ||
|
H A D | AudioGain.cc | 255 timeconstant = 1. / (inhdr.sample_rate / (double)DCfreq);
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | audio.h | 50 uint32_t sample_rate; member in struct:__anon67
|
H A D | bstream.c | 502 (CPU_TO_LE32(wav->sample_rate) != 44100) ||
|
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | parse.cc | 113 hdr.sample_rate = 48000; 119 hdr.sample_rate = 44100; 125 hdr.sample_rate = 8000; 235 if (hdr.sample_rate < 1000) {
|
H A D | convert.cc | 483 fromrate = ihdr.sample_rate; 500 ihdr.sample_rate = torate; 541 #define RATE_CONV(ihp, ohp) (ihp.sample_rate != ohp.sample_rate) 621 ohdr.sample_rate, bufs); 701 if ((ohdr.sample_rate < 8000) || (ohdr.sample_rate > 48000)) {
|
H A D | main.cc | 395 hdr.sample_rate = 0;
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_sun.c | 260 prinfo->sample_rate = 8000; 281 prinfo->sample_rate = 8000; 580 info->play.sample_rate = auclnt_get_rate(sp); 594 info->play.sample_rate = 0; 604 info->record.sample_rate = auclnt_get_rate(sp); 617 info->record.sample_rate = 0; 720 if (writer && CHANGED(npr, opr, sample_rate)) { 722 (npr->sample_rate < 5500) || (npr->sample_rate > 48000)) { 758 if (reader && CHANGED(npr, opr, sample_rate)) { [all...] |
/illumos-gate/usr/src/cmd/audio/audiotest/ |
H A D | audiotest.c | 233 int sample_rate; local 278 sample_rate = tmp; 279 if (sample_rate != tcfg->rate) { 335 ratio = ((float)total_bytes / (float)sample_rate) * 100.0; 337 (float)sample_rate * ratio / 100.0, ratio - 100.0);
|
/illumos-gate/usr/src/cmd/audio/audioplay/ |
H A D | audioplay.c | 521 cnt = BUFFER_LEN * File_hdr.sample_rate * 865 (Dev_hdr.sample_rate - File_hdr.sample_rate)) / 866 (double)File_hdr.sample_rate; 872 prog, Ifile, File_hdr.sample_rate, 873 Dev_hdr.sample_rate); 879 prog, Ifile, File_hdr.sample_rate);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | audioio.h | 54 uint_t sample_rate; /* samples per second */ member in struct:audio_prinfo
|
/illumos-gate/usr/src/cmd/audio/audiorecord/ |
H A D | audiorecord.c | 69 /* XXX - the input buffer size should depend on sample_rate */ 423 Sample_rate = File_hdr.sample_rate; 521 Dev_hdr.sample_rate = Sample_rate; 575 ((double)Dev_hdr.sample_rate / 1000.), 577 ((double)File_hdr.sample_rate / 1000.));
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/ |
H A D | audiohd.h | 854 uint32_t sample_rate; member in struct:audiohd_state 985 _NOTE(DATA_READABLE_WITHOUT_LOCK(audiohd_state::sample_rate))
|