Lines Matching refs:samplerate
172 gint samplerate; in gst_musepackdec_handle_seek_event() local
182 samplerate = g_atomic_int_get (&dec->rate); in gst_musepackdec_handle_seek_event()
186 start = gst_util_uint64_scale_int (start, samplerate, GST_SECOND); in gst_musepackdec_handle_seek_event()
188 stop = gst_util_uint64_scale_int (stop, samplerate, GST_SECOND); in gst_musepackdec_handle_seek_event()
285 gint samplerate; in gst_musepackdec_src_query() local
287 samplerate = g_atomic_int_get (&musepackdec->rate); in gst_musepackdec_src_query()
293 if (samplerate == 0) in gst_musepackdec_src_query()
303 cur = gst_util_uint64_scale_int (cur_off, GST_SECOND, samplerate); in gst_musepackdec_src_query()
315 if (samplerate == 0) in gst_musepackdec_src_query()
325 len = gst_util_uint64_scale_int (len_off, GST_SECOND, samplerate); in gst_musepackdec_src_query()
346 len = gst_util_uint64_scale_int (len_off, GST_SECOND, samplerate); in gst_musepackdec_src_query()
505 gint num_samples, samplerate, bitspersample; in gst_musepackdec_loop() local
509 samplerate = g_atomic_int_get (&musepackdec->rate); in gst_musepackdec_loop()
511 if (samplerate == 0) { in gst_musepackdec_loop()
516 samplerate = g_atomic_int_get (&musepackdec->rate); in gst_musepackdec_loop()
543 GST_SECOND, samplerate); in gst_musepackdec_loop()
545 gst_util_uint64_scale_int (num_samples, GST_SECOND, samplerate); in gst_musepackdec_loop()
571 GST_SECOND, samplerate); in gst_musepackdec_loop()