diff options
author | RJ Ryan <rryan@mixxx.org> | 2013-06-19 00:46:54 -0400 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2013-06-19 00:46:54 -0400 |
commit | 25d57b59dff3947212909634864dd82365c9606b (patch) | |
tree | f0d0f8a048f8ed2f45c5ff015fc96891662f72f1 /src/proto | |
parent | e50f9f168fa08f2be6d0f13e8a225bbcc9de09bb (diff) |
Moving mixxx/* to the root. A new era begins!
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/beats.proto | 29 | ||||
-rw-r--r-- | src/proto/skin.proto | 18 | ||||
-rw-r--r-- | src/proto/waveform.proto | 30 |
3 files changed, 77 insertions, 0 deletions
diff --git a/src/proto/beats.proto b/src/proto/beats.proto new file mode 100644 index 0000000000..aae2073a89 --- /dev/null +++ b/src/proto/beats.proto @@ -0,0 +1,29 @@ +package mixxx.track.io; + +option optimize_for = LITE_RUNTIME; + +enum Source { + ANALYSER = 0; + FILE_METADATA = 1; + USER = 2; +} + +message Beat { + optional int32 frame_position = 1; + optional bool enabled = 2 [ default = true ]; + optional Source source = 3 [ default = ANALYSER ]; +} + +message Bpm { + optional double bpm = 1; + optional Source source = 2 [ default = ANALYSER ]; +} + +message BeatMap { + repeated Beat beat = 1; +} + +message BeatGrid { + optional Bpm bpm = 1; + optional Beat first_beat = 2; +} diff --git a/src/proto/skin.proto b/src/proto/skin.proto new file mode 100644 index 0000000000..6c606039d7 --- /dev/null +++ b/src/proto/skin.proto @@ -0,0 +1,18 @@ +package mixxx.skin; + +option optimize_for = LITE_RUNTIME; + +message SkinManifest { + optional string title = 1; + optional string author = 2; + optional string version = 3; + optional string language = 4; + optional string description = 5; + optional string license = 6; + + message Attribute { + optional string config_key = 1; + optional string value = 2; + } + repeated Attribute attribute = 7; +} diff --git a/src/proto/waveform.proto b/src/proto/waveform.proto new file mode 100644 index 0000000000..ea81646f8a --- /dev/null +++ b/src/proto/waveform.proto @@ -0,0 +1,30 @@ +package mixxx.track.io; + +option optimize_for = LITE_RUNTIME; + +message Waveform { + enum Units { + RMS = 0; + AMPLITUDE = 1; + } + message Signal { + repeated int32 value = 1; + optional int32 channels = 2 [ default = 2 ]; + optional Units units = 3 [ default = RMS ]; + optional int32 max_value = 4; + optional int32 min_value = 5; + } + message FilteredSignal { + optional Signal low = 1; + optional Signal mid = 2; + optional Signal high = 3; + optional double low_cutoff_frequency = 4; + optional double mid_low_cutoff_frequency = 5; + optional double mid_high_cutoff_frequency = 6; + optional double high_cutoff_frequency = 7; + } + optional double visual_sample_rate = 1; + optional double audio_visual_ratio = 2; + optional Signal signal_all = 3; + optional FilteredSignal signal_filtered = 4; +} |