Changeset 4728 for pjproject/trunk/pjmedia/src/pjmedia-audiodev/bb10_dev.c
- Timestamp:
- Feb 4, 2014 10:13:56 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/bb10_dev.c
r4707 r4728 501 501 if (status.status == SND_PCM_STATUS_READY || 502 502 status.status == SND_PCM_STATUS_UNDERRUN || 503 status.status == SND_PCM_STATUS_ERROR ) 503 status.status == SND_PCM_STATUS_ERROR ) 504 504 { 505 505 if (snd_pcm_plugin_prepare (stream->pb_pcm, … … 778 778 TRACE_((THIS_FILE, "bb10_open_playback: pb_frames = %d clock = %d", 779 779 stream->pb_frames, param->clock_rate)); 780 780 781 781 return PJ_SUCCESS; 782 782 } … … 864 864 865 865 frame_size = setup.buf.block.frag_size; 866 PJ_UNUSED_ARG(frame_size); /* Warning about unused var */ 866 867 867 868 /* Set clock rate */ … … 962 963 963 964 964 /* 965 /* 965 966 * API: get running parameter 966 967 * based on ALSA template … … 981 982 /* 982 983 * API: get capability 983 * based on ALSA template 984 * based on ALSA template 984 985 */ 985 986 static pj_status_t bb10_stream_get_cap(pjmedia_aud_stream *s, … … 1043 1044 ret = bb10_initialize_playback_ctrl(stream,true); 1044 1045 } else { 1045 ret = bb10_initialize_playback_ctrl(stream,false); 1046 ret = bb10_initialize_playback_ctrl(stream,false); 1046 1047 } 1047 1048 return ret;
Note: See TracChangeset
for help on using the changeset viewer.