Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: media/audio/pulse/pulse.sigs

Issue 12328084: Fix the choppiness for the pulse impl when using a smaller buffer size like 512 samples (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | media/audio/pulse/pulse_output.cc » ('j') | media/audio/pulse/pulse_output.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 #------------------------------------------------ 5 #------------------------------------------------
6 # Functions from pulse used in media code. 6 # Functions from pulse used in media code.
7 #------------------------------------------------ 7 #------------------------------------------------
8 pa_mainloop_api* pa_threaded_mainloop_get_api(pa_threaded_mainloop* m); 8 pa_mainloop_api* pa_threaded_mainloop_get_api(pa_threaded_mainloop* m);
9 void pa_threaded_mainloop_free(pa_threaded_mainloop* m); 9 void pa_threaded_mainloop_free(pa_threaded_mainloop* m);
10 pa_threaded_mainloop* pa_threaded_mainloop_new(); 10 pa_threaded_mainloop* pa_threaded_mainloop_new();
(...skipping 24 matching lines...) Expand all
35 int pa_stream_drop(pa_stream *p); 35 int pa_stream_drop(pa_stream *p);
36 pa_operation* pa_stream_flush(pa_stream* s, pa_stream_success_cb_t cb, void* use rdata); 36 pa_operation* pa_stream_flush(pa_stream* s, pa_stream_success_cb_t cb, void* use rdata);
37 uint32_t pa_stream_get_device_index(pa_stream* s); 37 uint32_t pa_stream_get_device_index(pa_stream* s);
38 int pa_stream_get_latency(pa_stream* s, pa_usec_t* r_usec, int* negative); 38 int pa_stream_get_latency(pa_stream* s, pa_usec_t* r_usec, int* negative);
39 pa_stream_state_t pa_stream_get_state(pa_stream* p); 39 pa_stream_state_t pa_stream_get_state(pa_stream* p);
40 pa_stream* pa_stream_new(pa_context* c, const char* name, const pa_sample_spec * ss, const pa_channel_map * map); 40 pa_stream* pa_stream_new(pa_context* c, const char* name, const pa_sample_spec * ss, const pa_channel_map * map);
41 size_t pa_stream_readable_size(pa_stream *p); 41 size_t pa_stream_readable_size(pa_stream *p);
42 int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes); 42 int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes);
43 void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void* userdata); 43 void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void* userdata);
44 void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void* userdata); 44 void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void* userdata);
45 size_t pa_stream_writable_size(pa_stream* p);
45 int pa_stream_write(pa_stream* p, const void* data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek); 46 int pa_stream_write(pa_stream* p, const void* data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek);
46 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata); 47 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
47 void pa_stream_unref(pa_stream* s); 48 void pa_stream_unref(pa_stream* s);
48 int pa_context_errno(pa_context *c); 49 int pa_context_errno(pa_context *c);
49 const char* pa_strerror(int error); 50 const char* pa_strerror(int error);
50 pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned channels, pa_volume_t v); 51 pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned channels, pa_volume_t v);
OLDNEW
« no previous file with comments | « no previous file | media/audio/pulse/pulse_output.cc » ('j') | media/audio/pulse/pulse_output.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698