Class: RSoxEncoding
- Inherits:
-
Object
- Object
- RSoxEncoding
- Defined in:
- ext/rsox.c
Instance Method Summary collapse
-
#bps ⇒ Object
{{{.
-
#bps= ⇒ Object
{{{.
Instance Method Details
#bps ⇒ Object
{{{
364 365 366 367 368 369 370 |
# File 'ext/rsox.c', line 364
VALUE rsoxencoding_bps(VALUE self) {/*{{{*/
sox_encodinginfo_t *c_enc;
Data_Get_Struct(self, sox_encodinginfo_t, c_enc);
return UINT2NUM(c_enc->bits_per_sample);
}/
|
#bps= ⇒ Object
{{{
364 365 366 367 368 369 370 |
# File 'ext/rsox.c', line 364
VALUE rsoxencoding_bps(VALUE self) {/*{{{*/
sox_encodinginfo_t *c_enc;
Data_Get_Struct(self, sox_encodinginfo_t, c_enc);
return UINT2NUM(c_enc->bits_per_sample);
}/
|