- Timestamp:
- Dec 10, 2010 11:04:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjsip-apps/src/samples/simpleua.c
r2423 r3392 707 707 inv->pool, /* pool */ 708 708 -1, /* sound dev id */ 709 media_port->info.clock_rate,/* clock rate */710 media_port->info.channel_count,/* channel count */711 media_port->info.samples_per_frame, /* samples per frame*/712 media_port->info.bits_per_sample,/* bits per sample */709 PJMEDIA_PIA_SRATE(&media_port->info),/* clock rate */ 710 PJMEDIA_PIA_CCNT(&media_port->info),/* channel count */ 711 PJMEDIA_PIA_SPF(&media_port->info), /* samples per frame*/ 712 PJMEDIA_PIA_BITS(&media_port->info),/* bits per sample */ 713 713 0, /* options */ 714 714 &g_snd_player); … … 716 716 app_perror( THIS_FILE, "Unable to create sound player", status); 717 717 PJ_LOG(3,(THIS_FILE, "%d %d %d %d", 718 media_port->info.clock_rate,/* clock rate */719 media_port->info.channel_count,/* channel count */720 media_port->info.samples_per_frame, /* samples per frame*/721 media_port->info.bits_per_sample/* bits per sample */718 PJMEDIA_PIA_SRATE(&media_port->info),/* clock rate */ 719 PJMEDIA_PIA_CCNT(&media_port->info),/* channel count */ 720 PJMEDIA_PIA_SPF(&media_port->info), /* samples per frame*/ 721 PJMEDIA_PIA_BITS(&media_port->info) /* bits per sample */ 722 722 )); 723 723 return; … … 733 733 inv->pool, /* pool */ 734 734 -1, /* sound dev id */ 735 media_port->info.clock_rate,/* clock rate */736 media_port->info.channel_count,/* channel count */737 media_port->info.samples_per_frame, /* samples per frame*/738 media_port->info.bits_per_sample,/* bits per sample */735 PJMEDIA_PIA_SRATE(&media_port->info),/* clock rate */ 736 PJMEDIA_PIA_CCNT(&media_port->info),/* channel count */ 737 PJMEDIA_PIA_SPF(&media_port->info), /* samples per frame*/ 738 PJMEDIA_PIA_BITS(&media_port->info),/* bits per sample */ 739 739 0, /* options */ 740 740 &g_snd_rec);
Note: See TracChangeset
for help on using the changeset viewer.