jp9000
04712b5fe9
(API Change) Unsquish obs_data_* names
...
Changed: To:
-----------------------------------------------
obs_data_getjson obs_data_get_json
obs_data_getstring obs_data_get_string
obs_data_getint obs_data_get_int
obs_data_getdouble obs_data_get_double
obs_data_getbool obs_data_get_bool
obs_data_getobj obs_data_get_obj
obs_data_getarray obs_data_get_array
obs_data_setstring obs_data_set_string
obs_data_setint obs_data_set_int
obs_data_setdouble obs_data_set_double
obs_data_setbool obs_data_set_bool
obs_data_setobj obs_data_set_obj
obs_data_setarray obs_data_set_array
obs_data_item_getstring obs_data_item_get_string
obs_data_item_getint obs_data_item_get_int
obs_data_item_getdouble obs_data_item_get_double
obs_data_item_getbool obs_data_item_get_bool
obs_data_item_getobj obs_data_item_get_obj
obs_data_item_getarray obs_data_item_get_array
obs_data_item_setstring obs_data_item_set_string
obs_data_item_setint obs_data_item_set_int
obs_data_item_setdouble obs_data_item_set_double
obs_data_item_setbool obs_data_item_set_bool
obs_data_item_setobj obs_data_item_set_obj
obs_data_item_setarray obs_data_item_set_array
2014-08-09 11:57:36 -07:00
jp9000
2d606dd8d8
(API Change) Use 'get' convention: API callbacks
...
Renamed: To:
-------------------------------------------------------
obs_source_info::defaults obs_source_info::get_defaults
obs_source_info::properties obs_source_info::get_properties
obs_output_info::defaults obs_output_info::get_defaults
obs_output_info::properties obs_output_info::get_properties
obs_output_info::total_bytes obs_output_info::get_total_bytes
obs_output_info::dropped_frames obs_output_info::get_dropped_frames
obs_encoder_info::defaults obs_encoder_info::get_defaults
obs_encoder_info::properties obs_encoder_info::get_properties
obs_encoder_info::extra_data obs_encoder_info::get_extra_data
obs_encoder_info::sei_data obs_encoder_info::get_sei_data
obs_encoder_info::audio_info obs_encoder_info::get_audio_info
obs_encoder_info::video_info obs_encoder_info::get_video_fino
obs_service_info::defaults obs_service_info::get_defaults
obs_service_info::properties obs_service_info::get_properties
2014-08-09 11:57:30 -07:00
jp9000
c83d05117f
(API Change) Unsquish libobs API callback names
...
Renamed: To:
-------------------------------------------------------
obs_source_info::getname obs_source_info::get_name
obs_source_info::getwidth obs_source_info::get_width
obs_source_info::getheight obs_source_info::get_height
obs_output_info::getname obs_output_info::get_name
obs_encoder_info::getname obs_encoder_info::get_name
obs_service_info::getname obs_service_info::get_name
2014-08-08 11:04:46 -07:00
jp9000
73baaa59e9
(API Change) Unsquish libobs (base) names
...
Previous names: New names:
-----------------------------------------------------------
obs_view_setsource obs_view_set_source
obs_view_getsource obs_view_get_source
obs_source_getdisplayname obs_source_get_display_name
obs_source_getwidth obs_source_get_width
obs_source_getheight obs_source_get_height
obs_filter_getparent obs_filter_get_parent
obs_filter_gettarget obs_filter_get_target
obs_source_filter_setorder obs_source_filter_set_order
obs_source_getsettings obs_source_get_settings
obs_source_getname obs_source_get_name
obs_source_setname obs_source_set_name
obs_source_setvolume obs_source_set_volume
obs_source_getvolume obs_source_get_volume
obs_scene_getsource obs_scene_get_source
obs_scene_fromsource obs_scene_from_source
obs_scene_findsource obs_scene_find_source
obs_output_getdisplayname obs_output_get_display_name
obs_output_getname obs_output_get_name
obs_encoder_getname obs_encoder_get_name
obs_service_getdisplayname obs_service_get_display_name
obs_service_getname obs_service_get_name
2014-08-08 11:04:46 -07:00
jp9000
0961af6e66
(API Change) Rename source_audio structure
...
Rename source_audio to obs_source_audio to make it more consistent with
the rest of the API
2014-08-08 11:04:44 -07:00
jp9000
482791c5b6
Add locale for modules
2014-07-11 17:29:00 -07:00
jp9000
0b4a259e56
Remove 'locale' parameter from all callbacks
...
The locale parameter was a mistake, because it puts extra needless
burden upon the module developer to have to handle this variable for
each and every single callback function. The parameter is being removed
in favor of a single centralized module callback function that
specifically updates locale information for a module only when needed.
2014-06-25 12:36:26 -07:00
jp9000
74b4743bce
Remove 'locale' from properties
...
Having the value stored here is somewhat pointless, so this is one step
in fixing the locale handling. Locale should be handled by the modules
themselves with their own loaded locale lookup information.
2014-06-25 12:36:26 -07:00
fryshorts
65b8fb2f4e
Remove pa timestamps option from pulseaudio plugin
...
Due to desync issues with the pa timestamps, os ones are
now the only option.
2014-05-21 22:54:23 +02:00
fryshorts
e0536e70ba
Fix requested latency for pulseaudio plugin
...
When the PA_STREAM_ADJUST_LATENCY flag is passed, pulse will interpret
the fragsize attribute as a literal targeted latency.
2014-05-21 22:54:23 +02:00
fryshorts
66d8ad8eaf
Fix packet/frame counter for pulseaudio plugin
...
Reset the counters when the recording is stopped.
2014-05-21 22:49:34 +02:00
fryshorts
ac4a054bdd
Add some statistics to pulseaudio plugin
...
This patch adds counters for packets and frames for debugging purposes.
2014-05-19 21:28:41 +02:00
fryshorts
f3d9d248b6
Fix a memory leak in pulseaudio plugin
2014-05-19 21:28:33 +02:00
fryshorts
ad9d15c838
Change logging statements for pulseaudio plugin
...
This removes some useless and annoying logging and on the other
hand bumps the prio on more important ones.
2014-05-19 21:28:33 +02:00
fryshorts
9a14661507
Add option to use alternative timestamps
...
With this option enabled the plugin will generate timestamps
based on the system time instead of using the ones provided by
pulse audio. This might fix problems with audio desync and may
become the default/only option in the future.
2014-04-28 22:00:04 +02:00
fryshorts
30a688e942
Implement defaults functions
...
The defaults functions will now return the default device for the
input/output as provided by pulseaudio.
The default output device is the monitor of the default sink.
2014-04-28 22:00:04 +02:00
fryshorts
bbda252e2d
Add support for changing the audio device while recording
...
Changing the audio device in the source properties will now cause
the plugin to switch recording to the new device.
2014-04-28 22:00:04 +02:00
fryshorts
1ee4496dae
Added a wrapping library for pulseaudio
...
The wrapping library uses a global mainloop and context which
allows operations to share the connection. The global mainloop
is created and destroyed based on internal reference counting.
The capture code won't spawn a new thread for each input anymore
but instead just create the recording stream and rely on the
threaded mainloop to execute the read callback when data is available.
2014-04-24 23:51:13 +02:00
jp9000
1bca7e0a3e
Improve properties API
...
Improve the properties API so that it can actually respond somewhat to
user input. Maybe later this might be further improved or replaced with
something script-based.
When creating a property, you can now add a callback to that property
that notifies when the property has been changed in the user interface.
Return true if you want the properties to be refreshed, or false if not.
Though now that I think about it I doubt there would ever be a case
where you would have this callback and *not* refresh the properties.
Regardless, this allows functions to change the values of properties or
settings, or enable/disable/hide other property controls from view
dynamically.
2014-04-04 00:30:37 -07:00
jp9000
2d6a7c89ca
Remove trailing whitespaces from linux plugins
2014-03-11 10:12:54 -07:00
fryshorts
32c8cd00c5
Fixed usage of event functions
...
The event functions got renamed in obs.
2014-03-11 14:16:03 +01:00
fryshorts
c0ab8fadda
moved and split up the linux xshm and pulseaudio capture plugins
2014-03-11 14:06:10 +01:00