linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] oss_write_process genetation


From: Sergey Abramov
Subject: [Linphone-developers] oss_write_process genetation
Date: Sun, 27 Jun 2010 17:55:01 +0400

Hello

Can I be sure that the thread
static void oss_write_process (MSFilter * f) {
MSSndCard * card = (MSSndCard *) f-> data;
mblk_t * m;
while ((m = ms_queue_get (f-> inputs [0 ]))!= NULL) (
oss_put (card, m);
)
}

will always be generated by every standard 20 ms (160 samles) for any
values frame_per_packet in the received rtp-stream?  Value bsize
always be equal to 320 bytes (160 samples) on my sound device.
 d-> pcmfd = oss_open (d-> pcmdev, d-> bits, d-> stereo, d-> rate, & bsize);

Thank you



reply via email to

[Prev in Thread] Current Thread [Next in Thread]